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

how set the title in chinese #28

Open
protester-pog opened this issue Sep 24, 2024 · 0 comments
Open

how set the title in chinese #28

protester-pog opened this issue Sep 24, 2024 · 0 comments

Comments

@protester-pog
Copy link

`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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant