SHIFT_JIS encoding option problem

Katsuaki.Sugiyama@jp.yokogawa.com Katsuaki.Sugiyama@jp.yokogawa.com
Fri Feb 14 17:45:00 GMT 2003


Hi,
 
I caught the "--encoding=" problem.
 
I tried compiling containig SHIFT_JIS encoded Japanese.
Although it is necessary to specify encoding option that it compiles,
A lexical error will be issued, if "SJIS" or "SHIFT_JIS" encoding option is 
specified and source containing double quote escape sequence is compiled.
The following source is carried as an example.
 
class A {
 public static void main(String[] a){
  System.out.println("\"hello\"");
 }
}
 
This problem has occurred in gcj-3.0.4 and gcj-3.2.*.
But This problem is avoidable by specifying "IBM932" encoding option.
However, since shift_jis encoding will be used for Japanese widely, 
Please fix it. 
 
Thanks,
 
Katsu
----
Katsuaki.Sugiyama@jp.yokogawa.com
 



More information about the Java mailing list