diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-07 11:39:29 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-07 11:39:29 +0000 |
commit | c4d502c93150ca3eba4612956dd63915f3b0610c (patch) | |
tree | 2cbc3ff6191d34cf69e1d2aee5dce2168e2e5e0d /ext/iconv/charset_alias.rb | |
parent | e735472d1f22fca2e2103b6d3868c101c54a2e2d (diff) |
* ext/iconv/iconv.c (map_charset): make case sensitive.
ext/iconv/charset_alias.rb (charset_alias): don't ignore
config.charset's information.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/iconv/charset_alias.rb')
-rw-r--r-- | ext/iconv/charset_alias.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/iconv/charset_alias.rb b/ext/iconv/charset_alias.rb index 48f0fae5f9..62742e62a8 100644 --- a/ext/iconv/charset_alias.rb +++ b/ext/iconv/charset_alias.rb @@ -14,8 +14,7 @@ def charset_alias(config_charset, mapfile, target = OS) next comments << list if /^\#/ =~ list next unless /^(\S+)\s+(\S+)$/ =~ list sys, can = $1, $2 - next if sys == can - next if can.downcase! and sys == can + can.downcase! map[can] = sys end case target |