On Feb 12, 9:49 pm, "Bill Kelly" <b... / cts.com> wrote:
> Hi,
>
> From: "Daniel Berger" <djber... / gmail.com>
>
> > On Feb 12, 6:32 pm, "Bill Kelly" <b... / cts.com> wrote:
>
> >> If so, my next question would be, which encoding format should
> >> the filename string be in when passed to, say, File.open() ?
> >> UTF8 ?
>
> > 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