This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: how to get System.out.println("\u7B80\u4F53\u4E2D\u6587") work (on win32)?
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: tromey at redhat dot com, Ranjit Mathew <rmathew at gmail dot com>
- Cc: java at gcc dot gnu dot org, lanewu at hotmail dot com
- Date: Mon, 08 Nov 2004 02:32:26 -0600
- Subject: Re: how to get System.out.println("\u7B80\u4F53\u4E2D\u6587") work (on win32)?
- Reply-to: gnustuff at thisiscool dot com
Hi All,
>>>>it seems that GCJ is still using non-unicode based?
>>>>sorry if this is a FAQ, I'm new here.
>>
>>
>> I'm sorry that nobody answered this. I'm not a Windows person, so I
>> don't know the answer.
>
>I'm no longer a Windows person, but I hope the
>following answer helps. :-/
...
>I see that Mohan's pre-built binaries are configured with
>"--enable-libgcj-mingw-osapi=ansi", which does not seem to
>be a supported flag in the FSF sources. Mohan, do you have
>a private patch for this flag?
Sorry I didn't notice this one. Yes, passing --with-win32-nlsapi=unicode
might do the trick. Setting this flag to "ansi" has the effect of
omitting the preprocessor definition for MINGW_LIBGCJ_UNICODE, which
compiles in the ANSI logic - no private patch involved.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/