summaryrefslogtreecommitdiffstats
path: root/lib/xsd/charset.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xsd/charset.rb')
-rw-r--r--lib/xsd/charset.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xsd/charset.rb b/lib/xsd/charset.rb
index e0241fdeb..362f13edf 100644
--- a/lib/xsd/charset.rb
+++ b/lib/xsd/charset.rb
@@ -103,7 +103,7 @@ public
end
def Charset.charset_str(label)
- CharsetMap.key(label.downcase)
+ CharsetMap.index(label.downcase)
end
# us_ascii = '[\x00-\x7F]'