Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Japanese characters don't render when using the Docker image #93

Closed
talw opened this issue Jan 6, 2021 · 8 comments
Closed

Japanese characters don't render when using the Docker image #93

talw opened this issue Jan 6, 2021 · 8 comments
Labels
bug Something isn't working

Comments

@talw
Copy link

talw commented Jan 6, 2021

Describe 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
screenshot

Desktop:

  • OS: Linux Debian 9
@MindaugasLaganeckas
Copy link
Member

@talw : does the CLI tool (not the Docker) work correclty with the Japanese characters?

@talw
Copy link
Author

talw commented Jan 7, 2021

@talw : does the CLI tool (not the Docker) work correclty with the Japanese characters?

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

@MindaugasLaganeckas
Copy link
Member

@talw would you be so kind to test the officially released container and not the release candidate? For example, this one: docker pull minlag/mermaid-cli:8.8.4-1

@talw
Copy link
Author

talw commented Jan 12, 2021

@MindaugasLaganeckas

Done

rm /tmp/output.pdf
cat /tmp/try.mmdc | docker run --rm -i -v /tmp:/host minlag/mermaid-cli:8.8.4-1 -o /host/output.pdf

Same output, unfortunately.

@MindaugasLaganeckas
Copy link
Member

@talw Thank you so much for trying! 😄

@MindaugasLaganeckas MindaugasLaganeckas added the bug Something isn't working label Jan 13, 2021
@MindaugasLaganeckas
Copy link
Member

CC @zionyx

@MindaugasLaganeckas
Copy link
Member

Fixed by #132

@talw
Copy link
Author

talw commented Jul 3, 2021

Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants