-
-
Notifications
You must be signed in to change notification settings - Fork 387
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
WideChar on GNOME Terminal #5
Comments
HI, I expect the gnome terminal to send UT8 encoded characters. Then inside ftxui, everything is utf16. That's why there are conversion when entering and leaving ftxui. |
#include wstring to_wstring1(const string& s) wstring to_wstring2(const string& s) int main() This code will help in reproducing the issue on GNOME Terminal. |
Sorry I would like to help, but I don't understand. Could you please describe your issue? |
The problem is with using older version of gcc . I was using gcc 6.3. Which might not have implemented the codecvt correctly. Thanks |
I faced a issue with text output where all text was being displayed in chinese. I could fix the problem locally by changing wstring converter to <std::codecvt_utf8<wchar_t>> in string.cpp . May i know if this is the correct way ? Thanks.
The text was updated successfully, but these errors were encountered: