Crash plantuml with unknown charset

0 votes
asked Jul 14, 2019 in Bug by albert (2,900 points)

When using the command:

java -jar C:\Downloads\plantuml\plantuml_last\plantuml.jar french.pu  -charset UTF-8

the diagram is rendered properly.

When using an unknown charset plantuml crashes, e.g.:

java -jar C:\Downloads\plantuml\plantuml_last\plantuml.jar french.pu  -charset UTF

crashes with: UTF
        at sun.nio.cs.StreamDecoder.forInputStreamReader(Unknown Source)
        at<init>(Unknown Source)
        at net.sourceforge.plantuml.SourceFileReaderAbstract.getReader(
        at net.sourceforge.plantuml.SourceFileReader.<init>(
        at net.sourceforge.plantuml.Run.manageFileInternal(
        at net.sourceforge.plantuml.Run.processArgs(
        at net.sourceforge.plantuml.Run.manageAllFiles(
        at net.sourceforge.plantuml.Run.main(
No diagram found

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.