cross platform unicode support

I find that getting Unicode support in my cross-platform apps a real pain in the butt.

I need strings that can go from C code, to a database, to a Java application and into a Perl module. Each of these use a different Unicode encodings (UTF8, UTF16) or some other code page. The biggest thing that I need is a cross-platform way of doing conversions.

What kind of tools, libraries or techniques do people use to make handling these things easier?


Have a look at this:

Source: stackoverflow
The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .