diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-24 05:29:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-24 05:29:28 +0000 |
commit | 656c458665324a674e703cc65927696ad3210820 () | |
tree | 7bc495d460ec3503b58ac1db4ba887b9e86888f5 /enc/unicode | |
parent | bddf4b0237f9598df782effc5484120d3786c2f9 (diff) |
Read CaseFolding.txt in binary mode
* enc/unicode/case-folding.rb (CaseFolding#load): read in binary mode to deal with non-ASCII charater in CaseFolding.txt. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rwxr-xr-x | enc/unicode/case-folding.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ class CaseFolding @debug = false turkic = [] - IO.foreach(filename) do |line| next unless res = pattern.match(line) ch_from = res[1].to_i(16) |