Hi, 2018-04-20 23:06 GMT+02:00 Even Rouault <even.roua...@spatialys.com>: > You mean 0x00 right ?
right. > I would not expect those to be valid in ISO-8859-2. How are they supposed to > be interpreted ? Are you sure the dataset is valid ? Right, it's not valid in the sense of ISO-8859-2. Anyway I would attempt to skip such characters and be able read also such line. > I guess you could transform CPLReadLine2L() into CPLReadLine3L() with an > extra int* pnBufLength output argument that would return the final value of > nBufLength, and then you would lop on the string to remove those annoying > nul characters. Right, I was just wondering whether it's reasonable to create a new method just for my case. Thanks for feedback, Ma -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev