This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch for Review: Replace "Unicode to UTF8 conversions" with "Unicodeto 'Win32 locale' conversions" when sending/receiving file names to/fromWin32 API.
- From: João Garcia <jgarcia at uk2 dot net>
- To: java-patches at gcc dot gnu dot org, Mohan Embar <gnustuff at thisiscool dot com>
- Date: Wed, 28 May 2003 01:36:39 +0100
- Subject: Patch for Review: Replace "Unicode to UTF8 conversions" with "Unicodeto 'Win32 locale' conversions" when sending/receiving file names to/fromWin32 API.
Hi People,
this is for those of us who would like to use char codes above 127 with
Win32 file names.
This is my first attempt to solve this problem. So there should be
enough space for improvement (mostly upon size reduction).
Most of the code should probably be relocated to another source file
(maybe a new file called natStringWin32.cc ? ). But it works fine as it
is (at least with CP1252).
There are four unsupported code pages: Chinese (traditional and
simplified), Japanese and Korean.
This patch is against gcc 3.3 final (20030514).
c3101e0684d524cdeba16cf4f5bdd598 UTF8_W32Locale.diff.bz2
João
Attachment:
UTF8_W32Locale.diff.bz2
Description: Binary data