Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Allowing unicode input

Name: Anonymous 2012-03-06 20:53

Hi there /prog/

Do I need to compile my binary in a certain way, or do I need to send a message to the operating system for unicode input?  Right now my custom input widget class works great with my EN keyboard, but I'm not able to switch keyboard layouts and use my secondary keyboard layout.

How could I do this?

Name: Anonymous 2012-03-06 21:13

You shouldn't have to do anything special besides using wide strings (wchar_t, assuming C/C++) and not assuming that one stored character==one printed character. Going outside the Basic Multilingual Plane could cause problems. Depending on the OS you may receive two surrogate characters or single values above 0xFFFF.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List