This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
about gcj --encoding .
- From: bbskill <bbkills at tom dot com>
- To: java at gcc dot gnu dot org
- Date: Sat, 06 Aug 2005 02:50:23 +0800
- Subject: about gcj --encoding .
hello all,
My locale is GBK;
My version of GCJ is 4.1,Compiled following
http://gcc.gnu.org/java/build-snapshot.html.
I write a simple java file (Test.java the println a string whose
encoding is GBK (
String str = "XXX",which is directly written in my locale),
than I use gcj --encoding=GBK --main=Test Test.java -o Test
But the string output is not displayed as I written in the .java. I
checked the
encoding of string output is UTF-8 .
why my --encoding option doesn't work ?
Thanks for your any help !