phoenix (junchen wu)
- Login: phoenix
- Email: wujunchen@gmail.com
- Registered on: 11/21/2008
- Last sign in: 07/22/2010
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
08/20/2009
-
11:42 PM Ruby Bug #1965: the strange thing in Iconv under windows(GBK)
- =begin
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.re... -
10:04 PM Ruby Bug #1965: the strange thing in Iconv under windows(GBK)
- =begin
Maybe I need try another iconv.dll to make the s==utf return true,but then both s=~/ab/ and utf=~/ab/ will raise the ArgumentError: invalid byte sequence in GBK.
I want to read my string from my utf-8 file,and compile it with r... -
04:43 PM Ruby Bug #1965 (Closed): the strange thing in Iconv under windows(GBK)
- =begin
I have a file encoding in utf-8,this is the content:
#掉
config
I read it and then match it with =~/ab/,it will raise: ArgumentError: invalid byte sequence in GBK.
There is something strange:
irb> s=IO.readlines('t...