Skip to content

how set the title in chinese #28

@protester-pog

Description

@protester-pog

`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") #1
ELB("lb") >> EC2("web") >> RDS("userdb") << EC2("stat") #2
(ELB("lb") >> EC2("web")) - EC2("web") >> RDS("userdb") #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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions