iamgreaser / iceball

Open-source rewrite of the VOXLAP version of Ace of Spades.
http://iceball.build
GNU General Public License v3.0
113 stars 32 forks source link

Unicode support #114

Open rakiru opened 9 years ago

rakiru commented 9 years ago

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).

iamgreaser commented 9 years ago

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.

rakiru commented 9 years ago

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.

fkaa commented 8 years ago

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.

rakiru commented 8 years ago

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.