Changing the Windows code page to UTF-8 using command
chcp 65001
causes Jython print the following warning at start-up.
C:\> jbang run jython-cli@jython
org.python WARNING console: Failed to install 'org.python.util.JLineConsole': java.nio.charset.UnsupportedCharsetException: cp65001.
org.python WARNING console: Failed to install 'org.python.util.JLineConsole': java.nio.charset.UnsupportedCharsetException: cp65001.
Jython 2.7.4 (tags/v2.7.4:3f256f4a7, Aug 18 2024, 16:49:39)
[OpenJDK 64-Bit Server VM (Microsoft)] on java21.0.9
Type "help", "copyright", "credits" or "license" for more information.
>>>