So, i was reading http://icu-project.org/userguide/codepageConverters.html an wanted to try the following example:
conv = ucnv_open("shift_jis", &status);
/* Convert from Unicode to Shift JIS */
len = ucnv_fromUChars(conv, target, targetLen, source, sourceLen, &status);
But i guess, shift_jis is not supported by the default dll?
I was using windows xp (debian 4.0 stable works perfectly).
So i get U_FILE_ACCESS_ERROR
This is VERY depressing when first testing an example from the documentation!
I found 3 solutions:
1) Screw icu
2) Use iso-8859-1 instead
3) Set ICU_DATA_DIR to "C:\\somfolder\\icu\\source\\data
out" and call u_setDataDirectory(ICU_DATA_DIR);
I really recommend a change in the userguide here!