diff options
Diffstat (limited to 'tool/enc-case-folding.rb')
-rwxr-xr-x | tool/enc-case-folding.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tool/enc-case-folding.rb b/tool/enc-case-folding.rb index 6d43a27df8..76c6b5c48b 100755 --- a/tool/enc-case-folding.rb +++ b/tool/enc-case-folding.rb @@ -409,9 +409,7 @@ if $0 == __FILE__ s = f.string end if dest - open(dest, "wb") do |file| - file.print(s) - end + File.binwrite(dest, s) else STDOUT.print(s) end |