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

UTF8 (by Anton Ivanov) #12

Closed
glejeune opened this issue Mar 21, 2010 · 3 comments
Closed

UTF8 (by Anton Ivanov) #12

glejeune opened this issue Mar 21, 2010 · 3 comments

Comments

@glejeune
Copy link
Owner

I seem to have a problem with utf-8 labels. The following renders fine: a [label="ε"]; however when I pass {:label=>'ε'} to add_node, the output has
[label="\316\265"] which renders as a decimal value.

@Gromina
Copy link

Gromina commented May 16, 2010

same issue for me
add_node encodes utf8 labels to a mess

if I use add_edge with utf8 node names without any labels and without creating nodes all works great

@glejeune
Copy link
Owner Author

I made a correction (see sample38.rb).

Thanks for testing.

@vanboom
Copy link

vanboom commented Aug 7, 2021

See my issue #115 and PR #151. Encoding issues occur when labels include UTF8 text and Graphviz is producing a text file (SVG). Open3.capture3 when run in binmode=true returns ASCII-8BIT result. Binmode needs to be disabled when requesting a text based output format.

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

No branches or pull requests

3 participants