This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]