Opened 14 years ago
Closed 11 years ago
#3421 closed defect (duplicate)
can not access UCS-2 encoded S-57 strings
Reported by: | zuencap | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.10.0 |
Component: | OGR_SF | Version: | svn-trunk |
Severity: | normal | Keywords: | S57 |
Cc: |
Description
DDFSubfieldDefn::ExtractStringData function returns zero terminated strings. In the case of S57, the subfield ATVL of the NATF field can be encoded in lexical level 2 which is UCS-2 encoding. Attached patch encodes these strings in utf8.
Attachments (1)
Change History (6)
by , 14 years ago
Attachment: | iso8211utf8.patch added |
---|
follow-up: 3 comment:1 by , 14 years ago
Keywords: | S57 added |
---|---|
Status: | new → assigned |
comment:3 by , 14 years ago
Replying to warmerdam:
I will need a file demonstrating this issue. I would prefer one that can be part of our public test suite, but if necessary it can be treated as confidential data instead.
I'm trying to find an apropriate file.
comment:4 by , 14 years ago
Sorry, I'm not allowed to provide any file. Is there a way to extract a single layer from S57 file? Does that work for you?
comment:5 by , 11 years ago
Milestone: | → 1.10.0 |
---|---|
Resolution: | → duplicate |
Status: | assigned → closed |
Fixed by #5048
I will need a file demonstrating this issue. I would prefer one that can be part of our public test suite, but if necessary it can be treated as confidential data instead.