On 3 January 2012 14:43, Even Rouault <[email protected]> wrote: > Selon Rahkonen Jukka <[email protected]>: >> >> Mapserver behaves also as it did before. My codepage is now 65001 and >> -where "name=\"Hämeenkylä\"" gives http 500 error while >> -where name='Hämeenkylä' gives correct result. > > Yes, your observation confirms my little testing. Mateusz' trick with chcp > indeed fixes the display of UTF-8 characters in the console, but when I enter > an > accentuated character, the command line utilities consume it as Latin1. > Note: I'm on Windows xp. > > I've verified it with a trivial code compiled with MSVC : > > int main(int argc, char* argv[]) > { > printf("%d\n", strlen(argv[1])); > return 0; > } > > If I try "test éven", it prints 4, whereas it should print 5 if it was really > UTF-8.
Even, Your test program works for me as expected for text with all Polish diacritics included http://www.flickr.com/photos/mloskot/6628216939/ Best regards, -- Mateusz Loskot, http://mateusz.loskot.net _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
