This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: i18n: readdir API implementation


On Sun, May 08, 2005 at 12:55:39PM -0700, Joshua Daniel Franklin wrote:
>On 5/7/05, Shaddy Baddah wrote:
>>Primarily, I am interested in the rationale behind using the ASCII
>>variants of the w32api system calls, FindFirstFileA and FindNextFileA,
>>as opposed to using the wide-character variants FindFirstFileW and
>>FindNextFileW.
>
>I believe the reason is simply that the Cygwin implementation predates
>good Unicode support in Windows and so it wasn't an option in the first
>place.  I'm sure that patches would be carefully considered, though I
>vaguely remember someone (Japanese?) having a patched
>Unicode-supporting Cygwin DLL that did not fail gracefully on Win9x.
>It ought to fail gracefully.

It's more than that.  You can't just change readdir, wipe your hands
together and say "that's done!" Changing readdir means changing the rest
of cygwin, too.

That is not a trivial undertaking.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]