mingrammer/diagrams

how to set title with Chinese?

Open

#1.022 geöffnet am 26. Sept. 2024

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (2.701 Forks)batch import
help wanted

Repository-Metriken

Stars
 (41.903 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 53T 15h) (5 gemergte PRs in 30 T)

Beschreibung

`from diagrams import Diagram from diagrams.aws.compute import EC2 from diagrams.aws.database import RDS from diagrams.aws.network import ELB from diagrams.aws.storage import S3

with Diagram("中文", filename='test',show=False): ELB("lb") >> EC2("web") >> RDS("userdb") >> S3("store") https://github.com/tehmaze/diagram/issues/1 ELB("lb") >> EC2("web") >> RDS("userdb") << EC2("stat") https://github.com/tehmaze/diagram/pull/2 (ELB("lb") >> EC2("web")) - EC2("web") >> RDS("userdb") https://github.com/tehmaze/diagram/pull/3 `

my code run has result ,the png image is show unicode not utf-8, how i can set title with utf-8 ? diagrams==0.23.4 企业微信截图_20240924154603

Contributor Guide