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

Issue with special characters #52

Open
EzSoftware2015 opened this issue Feb 22, 2022 · 5 comments
Open

Issue with special characters #52

EzSoftware2015 opened this issue Feb 22, 2022 · 5 comments

Comments

@EzSoftware2015
Copy link

Hi Tom,
This is a great project, wel done!
I managed to get it working.

Could you help to fix the issue with special characters?

graph LR

p1[" Implementation "]
p2[[" Office 365 ⭐️ "]]

p1 --- p2

After encoding (UTF-8) the special chars are changed. Attached is a picture of the input and output in Postman.

Postman

In the live editor it works fine.

@zhangshuyx
Copy link

I like this project too, and i also met this problem when i user chinese charactor, is there any way to solve it, thanks!
image
My code like this:
sequenceDiagram 定时任务->>模块1:发送请求 定时任务->>模块2:发送请求

@TomWright
Copy link
Owner

I'm having trouble reproducing this issue locally.

$ docker run -d --name mermaid-server -p 80:80 tomwright/mermaid-server:latest
Unable to find image 'tomwright/mermaid-server:latest' locally
latest: Pulling from tomwright/mermaid-server
33847f680f63: Already exists 
9433a176a005: Already exists 
bde7f6de458a: Already exists 
d1adabab59df: Already exists 
36e49a0a4393: Already exists 
5d54ec1a6cc0: Pull complete 
8874f4d13dad: Pull complete 
c411a23678e1: Pull complete 
3ed9202ccb9b: Pull complete 
225c97e51c9f: Pull complete 
6f8a2c30630d: Pull complete 
6388a65ed1e5: Pull complete 
385c33e52e27: Pull complete 
Digest: sha256:63afbce60c6c5a42aac9ab5037552c92cc1f985d5e864d7c0c148ba5e51d6c9e
Status: Downloaded newer image for tomwright/mermaid-server:latest
fa723e700994d5ffc007640208202d4671ed87c64020baf50ddbd1d019852992

image

Could I get anymore information on how you're running this please?

@EzSoftware2015
Copy link
Author

EzSoftware2015 commented Jun 14, 2022 via email

@zhangshuyx
Copy link

zhangshuyx commented Jun 14, 2022 via email

@TomWright
Copy link
Owner

@EzSoftware2015 @zhangshuyx Thanks for extra info here, that's very useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants