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

Doesn't work when arabic diacritics are present #3047

Closed
hadithmv opened this issue May 17, 2022 · 3 comments
Closed

Doesn't work when arabic diacritics are present #3047

hadithmv opened this issue May 17, 2022 · 3 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@hadithmv
Copy link

Describe the bug
When text containing arabic diacritics are entered into the live editor, the diagram does not show them, nor does it update any further when other changes are made. Rather the live editor render window darkens, and nothing gets rendered, not even the url link is updated to save the changes. Only when the diacritics are removed do things go back to normal. Note that arabic text without diacritics work fine.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://mermaid.live'
  2. Replace any text with a word containing arabic diacritics such as: عَرَبِي
  3. See error

Expected behavior
The diagram should render the word with diacritics correctly.

Screenshots
image

Code Sample
I would have added a link to the live editor, but as it stops rendering, the url is not updated, and thus the changes are not saved in the link.

Desktop:

  • OS: [Windows 11 v10.0.0.22000]
  • Browser [Google Chrome 101.0.4951.67 (Official Build) (64-bit)]
@hadithmv hadithmv added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels May 17, 2022
@knsv
Copy link
Collaborator

knsv commented Aug 21, 2022

The parser are having issues with some unicode characters, emojis is another area of concern. I will combine this with issue #3213 and work will continue there.

@sidharthv96
Copy link
Member

#3432 does solve this, but the text is rendered incorrectly in VS Code.

image

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

3 participants