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: Tom Tromey <tromey at redhat dot com>
- To: João Garcia <jgarcia at uk2 dot net>
- Cc: java-patches at gcc dot gnu dot org, Mohan Embar <gnustuff at thisiscool dot com>
- Date: 05 Jun 2003 10:22:20 -0600
- 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.
- References: <3ED40497.1050104@uk2.net>
- Reply-to: tromey at redhat dot com
>>>>> "João" == João Garcia <jgarcia@uk2.net> writes:
João> this is for those of us who would like to use char codes above 127
João> with Win32 file names.
João> There are four unsupported code pages: Chinese (traditional and
João> simplified), Japanese and Korean.
What if, instead of having special code here for Windows, we have new
charset converters for these things? Then we could just use generic
code to convert the representations.
Does Windows not have these tables built in somewhere? Instead of
having these tables built in to libgcj it seems like we could use the
Windows equivalent of the iconv() charset converter. (If Windows
doesn't have this sort of thing, we can add the new converters to
libgcj easily enough.)
Anyway, I think this idea is definitely needed. We should probably
do the same thing for file names in the posix I/O code.
Tom