Mark's Tech Stuff
Programming solutions, source code, solutions to tech problems and other tech related stuff.
Thursday, May 29, 2008
Compiling UTF-8 Encoded Files in Java
If the compiler is giving out warnings like:
"warning: unmappable character for encoding cp1252"
It is best to specify the exact encoding, as in:
javac -encoding UTF-8 JavaSourceFile.java
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment