[Win32utils-devel] Rails, WEBrick, win32-file-stat issue

Park Heesob phasis at gmail.com
Tue Jul 29 10:53:31 EDT 2008


----- Original Message ----- 
From: "Berger, Daniel" <Daniel.Berger at qwest.com>
To: "Development and ideas for win32utils projects" 
<win32utils-devel at rubyforge.org>
Sent: Tuesday, July 29, 2008 10:57 PM
Subject: Re: [Win32utils-devel] Rails, WEBrick, win32-file-stat issue


>> -----Original Message-----
>> From: win32utils-devel-bounces at rubyforge.org
>> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of
>> Park Heesob
>> Sent: Tuesday, July 29, 2008 7:02 AM
>> To: Development and ideas for win32utils projects
>> Subject: Re: [Win32utils-devel] Rails, WEBrick, win32-file-stat issue
>
> <snip>
>
>> >>>
>> >> That's the same problem.
>> >> If you modify FormatMessage to FormatMessageA (#423 of error.rb),
>> >> It works fine.
>> >
>> > I guess all Windows error messages are in English anyway.
>> Unless Vista
>> > changed things. :)
>> >
>> I guess you are correct only in the English version.
>> In my Windows XP, the error messages are in Korean. :)
>
> Oh? I didn't know that.
>
> FormatMessageA won't work for you then, will it? I changed
> get_last_error not too long ago so that I thought it would work either
> with -Ku or not. If you have a suggested refactoring, I'm listening. :)
>
As I mentioned before, FormatMessageA works for me.
It returns the ansi character set (euckr aka ksc5601).
I guess FormatMessageA should work for all languages.

Regards,

Park Heesob







More information about the win32utils-devel mailing list