LoginSignup
2
2

More than 3 years have passed since last update.

PlamtUML使用時の覚書

Last updated at Posted at 2017-08-20

コマンドラインでの実行時にハマったこと

・ファイルをUTF-8で保存したとき、エラーになる

日本語を使っており、UTF-8で保存したらエラーになった。Visual Studio Codeでは正常なのに。
SHIFT-JISで保存すると正常実行できる。
ただ、UTF-8でファイルを作成したいため、いろいろ調査。
結果「-charset UTF-8」とつけてやればうまく動作した。
ps1:コマンド
java -jar C:\JavaLib\plantuml.jar -charset UTF-8 .\PlantUML_シーケンス図サンプル.uml

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2