3 ms·
You can fix most encoding problems with doing Encoding.default_internal = Encoding.default_external = "UTF-8" but as JEG states in http://blog.grayproductio
by edwardog 16y ago
You can fix most encoding problems with doing
Encoding.default_internal = Encoding.default_external = "UTF-8"
but as JEG states in http://blog.grayproductions.net/articles/ruby_19s_three_default_encodings http://blog.grayproductions.net/articles/ruby_19s_three_defa..., this throws warnings and may still not fix things.
Encoding issues rank up there with Array.to_s pains when moving to 1.9
- jcapote 16y agoHa! Glad to know I'm not the only one hitting the Array.to_s surprise!
- wvanbergen 16y agoMy favorite issue in 1.9.2: "." is no longer included on the $LOAD_PATH.