Japanese characters don't render when using the Docker image
See original GitHub issueDescribe the bug Japanese characters don’t render when using the Docker image. It does work when using the live editor and when using an mmdc installed using yarn however.
To Reproduce
in /tmp/try.mmdc:
graph LR
A -->|こんにちは| B
cat /tmp/try.mmdc | docker run --rm -i -v /tmp:/host minlag/mermaid-cli -o /host/output.pdf
Expected behavior こんにちは renders correctly
Screenshots

Desktop:
- OS: Linux Debian 9
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
.net core(system.drawing.common) not able to render chinese ...
I am creating image(tiff) for Chinese and Arabic texts using system.drawing.common in my .Net core API. Do I need any additional font files...
Read more >Japanese character are rendering as square bracket in pdf ...
Japanese character are rendering as square bracket in pdf report. ... I think Docker image i am using is alphine based so we...
Read more >How to Fix and Debug Docker Containers Like a Superhero
Container errors are tricky to diagnose, but some investigative magic works wonders. Read along to learn how to debug Docker containers.
Read more >Japanese characters are blank in the PDF generated by java ...
Coding example for the question Japanese characters are blank in the PDF generated by java code using iText library when deployed on docker...
Read more >Convert HTML to PDF using Blink in Asp.NET Core not render ...
... using Blink in Asp.NET Core not render asian characters - ASP. ... I've deployed it on Azure in a docker container and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks @MindaugasLaganeckas, I added that information to the issue description. The problem is only reproduced when using the container. It renders fine with a yarn-installed executable
Thanks for the fix!