Skip to content
Commit 4df5d2c3 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Force all files to be read as UTF-8 in Ruby 1.9.

In Ruby 1.9 reading files through builtin IO class attempted to
auto-detect the encoding which sometimes failed.

Created JsDuck::IO to be used instead of it, which forces all files
to be treated as UTF-8.  It also behaves well in Ruby 1.8 - just
doing nothing with the input and causing no errors.
parent e94ae15b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment