[SDL] event.text.text to utf32

mr_tawan mr_tawan at hotmail.com
Mon Sep 1 07:57:49 PDT 2014


Hi,

Since the event.text.text is null-terminated UTF8 string (char[]), the easiest way would be to use UTF8-CPP library (http://utfcpp.sourceforge.net/). I haven't tried this but that should work well.

Thanks.
Noom




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20140901/673c6851/attachment.htm>


More information about the SDL mailing list