How to show CJK characters in button label or window title? #1230
Replies: 2 comments 1 reply
-
Rust source files need to be UTF-8 but it looks from the error message like you added the Chinese characters in a different encoding. Can you check that? |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply! But another problem is, my-gtk-app.exe executable file can only run from explorer (double click), when I tried to run it with
Maybe I need to create a build.rs file? |
Beta Was this translation helpful? Give feedback.
-
Hello I'm learning gtk4-rs with https://gtk-rs.org/gtk4-rs/stable/latest/book/hello_world.html
I changed the label to include some Chinese characters in the sample code but got this error message.
I think there would be some problems with the encoding but I don't know how to solve it.
Would anyone please help me?
Beta Was this translation helpful? Give feedback.
All reactions