mikitex70 / plantuml-markdown

PlantUML plugin for Python-Markdown
BSD 2-Clause "Simplified" License
192 stars 55 forks source link

Explicitly pass charset to plantuml #85

Closed viccie30 closed 1 year ago

viccie30 commented 1 year ago

The PlantUML code is explicitly encoded to UTF-8, but plantuml gets to pick its own charset. On my Windows installation it picks codepage 1252 by default, leading to wrong characters in the output. UTF-8 should be available everywhere according to the PlantUML documentation.

mikitex70 commented 1 year ago

Hi @viccie30, thanks for your PR. I merged it as is, maybe in the future I will make the character set configurable.