summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e0241fdebc..362f13edfc 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]'