[gdal-dev] Handling non-standard character encoding
Brad Hards
bradh at frogmouth.net
Mon Oct 5 20:36:44 PDT 2020
While looking at some NITF test data, Ive found a problem in how we handle ECS-A (and ECS) characters. BCS-A (essentially ASCII) is
fine. However MIL-STD-2500C CN2 allows some header fields to be ECS-A, and the test data does this.
Ive also hit TREs with µm, where the µ character is encoded as 0xB5 in ECS-A (UTF-8 would be 0xCE 0xBC)
Id appreciate some guidance on how to best address this. I can see two options handle it internal to the NITF driver, or
(somehow) modify CPLRecode or iconv to handle this special case. Im currently planning the former.
If something else would be more appropriate, please let me know.
Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201006/d2258c46/attachment.html>
More information about the gdal-dev
mailing list