Java - Encoding

About

file encoding in Java

Management

Default

the default one is defined by the OS:

Set

To define the code page to the JVM, you use the following command option:

java -Dfile.encoding = UTF8
javac -Dfile.encoding = UTF8

Support

error: unmappable character for encoding ASCII

You need to set your encoding to unicode.


Powered by ComboStrap