On Tue, 10 Jan 2023 at 16:53, Christopher C. Lanz
<lan...@potsdam.edu.invalid> wrote:
> I have added -J-Dfile.encoding=UTF-8  to netbeans.conf, and then, of course, 
> I restarted Netbeans
>
> System.out.println("ī") produces a question mark as the output. Same for ā

Then it's possibly not (just) file encoding you want to set, but also
system out encoding (eg. -J-Dsun.stdout.encoding=utf-8, or on a recent
JDK -J-Dstdout.encoding=utf-8)

See also https://github.com/apache/netbeans/issues/4771 and related.

You can always set command line arguments like this in the Windows
shortcut as well as the netbeans.conf file.  I find that better as you
can set up multiple shortcuts.

You can also consider setting the environment variable mentioned in
that issue and linked - JAVA_TOOL_OPTIONS

Or it's the font ..

This is all a little confusing and annoying if you ask me, but then
that's Windows for you! :-)

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to