From: Thomas Thomassen Date: 2009-07-09T02:06:20+09:00 Subject: Re: Ruby 1.8 - character encoding Bill Kelly wrote: > From: "James Gray" >> Have you had a look at Ruby 1.9 yet? I'm wondering if this issue has been improved there, using the new encoding support. I >> don't know that it has. I'm more just wondering out-loud… > > It's only begun to improve as of the ruby 1.9.2 development version. > (1.9.1 and earlier use the 8-bit windows file API routines.) > > This ruby-core post provides a partial list of methods in 1.9.2dev > which now work with windows unicode paths, as of > 1.9.2dev (2009-06-24) [i386-mswin32_71] > > http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/24010 > > > Regards, > > Bill I see. So Ruby calls Win32 APis that doesn't handle UTF-8. But what do they use then? windows-1252? (Or would that be system dependant?) If it's not a fixed character set, is there any way of finding that out - so that I have a chance to try to transcode correctly? -- Posted via http://www.ruby-forum.com/.