Java UPoC

The JVM of Java UPoC is launched by the Tcl extension framework. Therefore, the file encoding is ANSI; you can work around this issue if you do not use StdIn/StdOut and instead pass the strings through JNI. The encoding conversion is not required in this case.

The default encoding of StdIn, StdOut, and StdErr is ANSI, as it does not use system settings in client.ini.