Opened 13 years ago

Closed 13 years ago

#4008 closed defect (fixed)

DXF Reader Ignores $DWGCODEPAGE - gets Japanese file text wrong.

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.9.0
Component: OGR_SF Version: 1.8.0
Severity: normal Keywords: DXF
Cc: djay

Description

A (not necessarily public) dxf file from Japan has $DWGCODEPAGE set to ANSI_932 in the header instead of the more common ANSI_1252 but the OGR DXF reader is not translating on the fly to UTF-8 accordingly.

Change History (1)

comment:1 by warmerdam, 13 years ago

Milestone: 1.8.11.9.0
Resolution: fixed
Status: newclosed

Patch applied in trunk (r22008, r22009) to use $DWGCODEPAGE and to allow an override with DXF_ENCODING.

I'm not sure if there is any point retrofitting it into 1.8. I don't think there is an iconv implementation available there.

Note: See TracTickets for help on using tickets.