Closed vit1251 closed 2 years ago
goncurses is not configured to allow for UTF-8. First, you need to make sure the locale is set correctly (out of scope of this project) and second, goncurses would need to be linked against lncursesw
for the wide character version of the library. You should be able to clone this repo and make those changes to try it.
I think there may be a case to be made to link to the wide character library by default since Go supports utf-8 out of box.
You should be able to clone this repo and make those changes to try it.
Yep. Already do in https://github.com/vit1251/goncurses
I change name on go-ncursesw
later to avoid search engine is ambiguous results by name.
Rename complete in https://github.com/vit1251/go-ncursesw
I've added a wiki page detailing what may be necessary for others who are also looking for UTF-8 support. https://github.com/rthornton128/goncurses/wiki/Internationalization-(I18n)
Example:
Result: