From: junchen wu Date: 2009-08-20T23:42:36+09:00 Subject: [ruby-core:24999] [Bug #1965] the strange thing in Iconv under windows(GBK) Issue #1965 has been updated by junchen wu. Thanks so much,it works fine now! Is there some setting to make the IO read all files using :encoding=>'utf-8' by default,or should the IO check the file encoding and auto set this before read it? Rails read files use File.read(),if must add :encoding=>'utf-8' to all the file reader,there will be lots of work to do;-) Sorry for my pool known of ruby usage,thanks for your patient! ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1965 ---------------------------------------- http://redmine.ruby-lang.org