From: Jarek Kubos Date: 2008-09-05T22:15:24+09:00 Subject: Re: win32 unicode filename support? Hi, Is there any new progress in support of unicode filenames? Plans? Bill: Did you find another solution? Daniel Berger wrote: > On Feb 12, 9:49 pm, "Bill Kelly" wrote: >> > Since File.open isn't redefined in win32-file, it won't make a >> > difference one way or the other. :) >> [...] >> > I provided a couple helper methods for >> > that - multi_to_wide and wide_to_multi, that handles the most typical >> > cases. >> >> Sorry if I've misunderstood your post - but does this mean >> that there's currently no way to open/create a file with a >> unicode filename with the win32 tools? > > At the moment, no. > >> Or does this mean >> that the multi_to_wide methods already exist, and that I >> should be using those? > > Even with multi_to_wide you would still have to define the wide > character functions yourself because I haven't done it yet in windows- > pr. I'm doing it right now, but it will be some time before I'm > finished. We're talking hundreds of functions here. > > But, you could do use a mix of windows-pr functions and custom defined > functions using Win32API. I'll provide a sample later this week when I > get some more time. > > Regards, > > Dan -- Posted via http://www.ruby-forum.com/.