If you create a GUI library, I hope it supports displaying unicode characters 
and unicode inputs so that I can use Japanese on the GUI.

If you create a GUI library from native GUI or wrapping popular GUI library, 
they would already support unicode character inputs and displaying. But even if 
you use nice library to render unicode characters, you might encounter 
following problem:

  * <https://heistak.github.io/your-code-displays-japanese-wrong/>



In case creating a GUI lib from low level APIs, 
[pixie](https://github.com/treeform/pixie) can be used to load TTF/OTF/SVG and 
render unicode characters.

For supporting CJK text input, GUI lib needs to support IME(Input Method 
Editor) provided by OS or window system. Here is how SDL and GLFW supports IME:

  * <https://wiki.libsdl.org/SDL2/Tutorials-TextInput>
  * <https://github.com/glfw/glfw/pull/2130>


Reply via email to