Closed peter-jerry-ye closed 6 months ago
We could add support to labels like we have in class and flow diagrams. Double quoted strings will support unicode.
I believe this is a duplicate of #3171, and it's already been fixed as part of https://github.com/mermaid-js/mermaid/pull/3516.
However, attribute types/names still don't support non-ascii characters. However, attribute comments do, see below:
```mermaid
erDiagram
"🌋 volcano" ||--o{ "Hiking Trail 🥾" : "contains 🧭"
"🌋 volcano" {
string name "name: 名"
float height "my 📈"
string sector
}
renders as
```mermaid
erDiagram
"🌋 volcano" ||--o{ "Hiking Trail 🥾" : "contains 🧭"
"🌋 volcano" {
string name "name: 名"
float height "my 📈"
string sector
}
Describe the bug Entity Relation Chart do not support non-ascii character
To Reproduce Steps to reproduce the behavior:
Expected behavior No syntax error
Screenshots![image](https://user-images.githubusercontent.com/16731997/84711091-d21e9a00-af65-11ea-9783-ec0011f48be5.png)
Desktop (please complete the following information):