iceball
iceball copied to clipboard
Unicode support
Foreign languages and stuff. I'm not sure how it's handled in configs and stuff, but chat is ascii-only atm (that will need #75 implemented to be of any use).
Configs are quite likely to explode if you use unicode at the moment.
Chat should be fine but yeah, that would require TTF support and I believe that'll be a pain.
JSON documents should be UTF-8 eventually (technically, they're supposed to be).
TTF is one of my top priorities, since I can barely read chat currently due to it being so small.
The upgrade to SDL2 added a text event which will pass through the full unicode char sequence that was input from the keyboard (including through IME etc.). Some font stuff needs to get fixed before we can actually display these lucrative characters (see #75).
Other than that i can imagine we need some unicode variants of some functions from string.h that we may not have thought of from the start.
One possibility on the C side: https://github.com/sheredom/utf8.h I'm not sure about the Lua functions. I think there's an in-Lua library for it available, which might be fine.