This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch for Review: Replace "Unicode to UTF8 conversions" with "Unicode to 'Win32 locale' conversions" when sending/receiving file names to/from Win32 API.
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: java-patches at gcc dot gnu dot org, João Garcia <jgarcia at uk2 dot net>
- Date: Fri, 06 Jun 2003 06:53:40 -0500
- Subject: Re: Patch for Review: Replace "Unicode to UTF8 conversions" with "Unicode to 'Win32 locale' conversions" when sending/receiving file names to/from Win32 API.
- Reply-to: gnustuff at thisiscool dot com
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/