Am 02.10.08, 10:25 +0200 schrieb Olivier BERTEN: > I have the same problem as Kai-Uwe Behrmann reported 3 years ago > <http://sourceforge.net/mailarchive/message.php?msg_id=Pine.LNX.4.61.0502241003440.7580%40sirius.rasena> > when I try to get profile informations (name, description) from v4 profiles > <http://www.color.org/sRGB_v4_ICC_preference.icc> or > <http://www.eci.org/lib/exe/fetch.php?id=en%3Adownloads&cache=cache&media=downloads:icc_profiles_from_eci:ecirgbv20.zip> lcms tries to handle the 'mluc' text as wchar_t, Linux: sizeof(wchar_t) == 4, which is wrong for that content. The icSigMultiLocalizedUnicodeType is specified as "UTF-16BE". Oyranos let iconv do the conversion to UTF-8. Unfortunedly this API is not standard C but Posix only: http://www.opengroup.org/onlinepubs/009695399/functions/iconv.html
Probably lcms can obtain a #ifdef for posix systems to use iconv? kind regards Kai-Uwe Behrmann -- developing for colour management www.behrmann.name + www.oyranos.org ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user