On 3 January 2012 15:22, Even Rouault <[email protected]> wrote: >> Even, >> >> Your test program works for me as expected for text with >> all Polish diacritics included > > As expected, really ? I can see on the photo that there are 17 characters in > the > string and that it prints 17. But I'd say it is *not* the expected result. If > it > was UTF-8, it would be more than 17 because strlen() will/should return the > number of bytes.
Even, You are right. I assumed wrong correctness: Polish diacritics would fit in UTF-8 based on their single-byte encoding of extended ASCII codes. Certainly, they are 2-byte long in UTF-8. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
