I'm having a compilation problem relating to some Chinese and Japanese characters that I have hardcoded into a hash table. When I compile this code inside an IDE like Eclipse or Netbeans I get no warnings, but when I do it outside of the IDE I get the following warning:
"unmappable character for encoding CP1252"
(From what I understand the default encoding for java is CP1252.)
What should I do about this? Would it be best just to compile with a UTF8 encoding tag as in ...
javac -encoding UTF-8 *.java
... or should I be using native2ascii in some way?
Any advice about the best approach here would be great. Thanks!