geany-plugins icon indicating copy to clipboard operation
geany-plugins copied to clipboard

Problem with Chinese display

Open DarkgreenWorld opened this issue 2 years ago • 3 comments

{464BD2C3-D2A8-4cd8-ADE3-925F52F8647D} How incomprehensible this is! Blue Chinese can be displayed normally, while red cannot!

DarkgreenWorld avatar Jul 12 '23 09:07 DarkgreenWorld

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.

elextr avatar Jul 12 '23 11:07 elextr

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,

java-tools-options-win-env

rdipardo avatar Aug 01 '23 04:08 rdipardo

That's effective, thank you!

DarkgreenWorld avatar Aug 01 '23 08:08 DarkgreenWorld