[cfe-dev] C99/C++ UCN (Universal Character Name) Support

steve naroff snaroff at apple.com
Fri Mar 27 17:45:14 PDT 2009


Folks,

I'm in the process of implementing UCN support in LiteralSupport.cpp.

Part of implementing this is converting UTF-16 (\u) and UTF-32 (\U) to  
UTF-8 (for insertion into a C-string, say).

Unfortunately, Unix doesn't appear to have any standard support for  
this type of conversion (which surprised me).

Does anyone have any experience with this type of conversion?

Thanks for any pointers!

snaroff



More information about the cfe-dev mailing list