C++ – Small open source Unicode library for C/C++


Does anyone know of a great small open source Unicode handling library for C or C++? I've looked at ICU, but it seems way too big.

I need the library to support:

  • all the normal encodings
  • normalization
  • finding character types – finding if a character should be allowed in identifiers and comments
  • validation – recognizing nonsense

Best Solution

Well, iconv is a good starting point at least.

Also, a google search returns another stackoverflow question! The horror! SO: Light C unicode library