geany-plugins
geany-plugins copied to clipboard
Problem with Chinese display
How incomprehensible this is! Blue Chinese can be displayed normally, while red cannot!
The red is output from the Java compiler, but it looks like it is not UTF-8 encoding.
Since there is nothing to tell Geany what the compiler message output encoding is, so UTF-8 is assumed, but that means some characters are not recognised if it is not UTF-8. Clearly part of the message is ASCII (==UTF-8) but part is something else.
The red is output from the Java compiler, but it looks like it is not UTF-8 encoding.
@DarkgreenWorld
set "JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8"
or,
That's effective, thank you!