Skip to content

er does not support UTF-8 #5800

Open
Open
@pajaro1966

Description

Description

When I use UTF-8 characters not used in English, graph does not get rendered. I've tried with different versions (10.9.1 and 11.0.2). If I write "categoria" (I without accent), the graph is rendered:
image

But if I write "categoría" (with accented í), the graph doesn't get rendered:
image

It is not possible to use different alphabets different from Latin (e.g. Greek) in the atttributes. Only in the title (if using " ") and the comments (because you have to use " "). There seems to be a problem with UTF-8 implementation.

All that said, I think Mermaid is really great. Thank you for developing such an amazing tool!

Steps to reproduce

  1. Paste this code into Mermaid Lice:
    erDiagram

     "πειστικός" {
    

string sufijo "ικός, ή, όν"
integer acento "1"
string categoría "adjetivo"

}

  1. The graph is not rendered.

Screenshots

No response

Code Sample

No response

Setup

  • Mermaid version:
  • Browser and Version: [Chrome, Edge, Firefox]

Suggested Solutions

No response

Additional Context

No response

Metadata

Assignees

No one assigned

    Labels

    Status: TriageNeeds to be verified, categorized, etcType: Bug / ErrorSomething isn't working or is incorrect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions