Patch for Review: Replace "Unicode to UTF8 conversions" with "Unicode to 'Win32 locale' conversions" when sending/receiving file names to/from Win32 API.

Mohan Embar gnustuff@thisiscool.com
Fri Jun 6 11:53:00 GMT 2003


Hi João,

>Anyway, now we have three alternatives. All of them will add code to the 
>deployed binaries. Which one shall we choose?

There is a fourth solution, which would be my preference:

http://libunicows.sourceforge.net/

This is what Mono recommends (see Question 54):

http://www.go-mono.com/faq.html

libunicows works with MingW and the only change to our code
would be to convert the Win32 A calls to W calls. Although I
understand that your character tables are static, it seems to me that
any effort we can make to avoid extra maintenance and code
duplication would be worthwhile, especially given that we are
dealing with Win9X, which is nearing its end-of life:

http://www.microsoft.com/windows/lifecycle/desktop/consumer/default.mspx

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/






More information about the Java-patches mailing list