This is the mail archive of the java@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]

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 !


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