-
-
Notifications
You must be signed in to change notification settings - Fork 431
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
About Support for Full width Characters in FTXUI #865
Comments
Hello! Full width characters are supporters. What terminal are you using? Maybe your terminal doesn't support rendering them? See my test on You can try the example |
It seems like it's really my problem here |
Maybe ;-) |
windows &&windows terminal |
In UTF8, we considers ", " to be two 1-byte characters:
I checked locally on Linux: It was working correctly. I guess I should try on Microsoft Windows terminal. Thanks for your useful input! |
... I know there's an error. Chinese characters should occupy 3 bytes in utf8, and the default encoding for window is gbk. |
I noticed that there are functions in FTXUI that support wchar, such as wstring_width, but I haven't found any applications for these functions.
When I tried to print "测试" in examples/dom/border.cpp, only a bunch of messy codes were printed.
So I would like to ask what kind of support FTXUI has for full-width characters:
The text was updated successfully, but these errors were encountered: