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: tromey at redhat dot com, João Garcia <jgarcia at uk2 dot net>
- Cc: java-patches at gcc dot gnu dot org, rmathew at hotmail dot com
- Date: Thu, 05 Jun 2003 15:55:46 -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 People,
>That is the reason why MS has released this thing:
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mslu/winprog/microsoft_layer_for_unicode_on_windows_95_98_me_systems.asp
>
>But I don't think this is a good solution for libgcj... It would have to
>be linked to libgcj (with probable licensing issues...).
My knee-jerk reaction would be to give the Microsoft Win9X Unicode wrapper
a second look:
- currently, we link it with mingw-runtime which links with msvcrt.dll which
would probably be subject to the same licensing issues
- the licensing issues would be for Win9X only
- it would eliminate the large character tables and defer this to MS code
- it would be an issue on Win9X only, which is hopefully eventually going
the way of the dinosaur
This wouldn't solve the problem for Posix, though. João: I thought that your
solution addressed Windows-specific character sets. Is that correct? I haven't
looked at the patch it detail.
I haven't thought all of this out completely, though. Ranjit?
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/