summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xenc/unicode/case-folding.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/unicode/case-folding.rb b/enc/unicode/case-folding.rb
index 6a67d4f4838..2191210617a 100755
--- a/enc/unicode/case-folding.rb
+++ b/enc/unicode/case-folding.rb
@@ -55,7 +55,7 @@ class CaseFolding
@debug = false
turkic = []
- IO.foreach(filename) do |line|
+ IO.foreach(filename, mode: "rb") do |line|
next unless res = pattern.match(line)
ch_from = res[1].to_i(16)