Valhalla Legends Archive

Programming => General Programming => C/C++ Programming => Topic started by: shout on August 19, 2005, 06:50 PM

Title: Unicode -> UTF8 but no UTF-8 -> Unicode?
Post by: shout on August 19, 2005, 06:50 PM
Ive got ATLUnicodeToUTF8 but nothing like the reverse. Anyone know it off the top of their heads?
Title: Re: Unicode -> UTF8 but no UTF-8 -> Unicode?
Post by: Kp on August 19, 2005, 08:03 PM
Couldn't you use MultiByteToWideChar(CP_UTF8, ...)?
Title: Re: Unicode -> UTF8 but no UTF-8 -> Unicode?
Post by: shout on August 19, 2005, 08:30 PM
Quote from: Kp on August 19, 2005, 08:03 PM
Couldn't you use MultiByteToWideChar(CP_UTF8, ...)?

It appears I could.