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

erDiagram type don't support other language #6335

Open
shouziws opened this issue Feb 27, 2025 · 1 comment
Open

erDiagram type don't support other language #6335

shouziws opened this issue Feb 27, 2025 · 1 comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@shouziws
Copy link

shouziws commented Feb 27, 2025

Description

erDiagram type value don't support other language
Image

Code Sample

erDiagram
    "Chinese" {
        Chinese chinese "test"
        中文 test
    }
@shouziws shouziws added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Feb 27, 2025
@BambioGaming
Copy link

Mermaid's erDiagram syntax primarily supports English alphanumeric characters and underscores for entity names. Names must begin with an alphabetic character or an underscore and may also contain digits and hyphens.

Support for non-English or multibyte characters, such as Chinese or accented letters, is currently limited. Users have reported issues when using these characters in erDiagram definitions, leading to rendering problems.

As a workaround, enclosing non-English characters in double quotes may help in some cases, but this approach is not consistently reliable

Sources:
https://mermaid.js.org/syntax/entityRelationshipDiagram.html
#5800
https://forum.obsidian.md/t/mermaid-links-for-non-english-characters/8517

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

2 participants