Archives
If you’re writing a C application using ICU, there are two way in which you can compile it: statically or dynamically linked. This article explains how to link your application.
If you have an ICU Unicode string formed as a NULL terminated UChar array, it is trivial to write it to a file with the u_fputs() function.
The International Components for Unicode library contains an excellent implementation of the Unicode standard, but, unfortunately, the documentation is somewhat lacking. For this reason, I’m thinking of writing a series of short tutorial articles on how to use the library, from what I can understand. I should also note that I’m not an experienced C programmer, so, by all means, please do correct me if you find anything wrong with the code. To read a file, I opened the file, allocated enough space to hold everything, then started reading character by character.