How do I obtain a code point integer from a 1 to 4 byte UTF-8 encoded sequence in Windows?
- by Patrick Niedzielski
Hello,
I am Patrick Niedzielski, a programmer for the Free Software 3D adventure game Humm and Strumm. I'm working on a minimal Unicode character class in C++. I currently have an array of four bytes representing a UTF-8 sequence.
On GNU/Linux, I can just convert to UTF-32 with iconv(), but on Windows, I cannot do this. Is it possible to convert the array to a single code point?
Thanks,
Patrick