I have a dxf format file named test.dxf which has some Chinese characters inside. I tried to transform it to GeoJSON file using ogr2ogr -f GeoJSON test.geojson test.dxf and returned GeoJSON showing unrecognizable characters like this:
comp:甯岀背绉戯紙鍖椾含锛夊尰鑽鎶€鏈夐檺鍏徃"
I also tried with ogr2ogr -f GeoJSON test.geojson test.dxf ENCODING='UTF-8' but it doesn't work out.
How can I get the result correctly?
Related reference:
Converting shapefile from Shift_JIS to UTF-8 when the usual methods fail
ogr2ogr.test.dxffile with encoding utf-8 usingqgis, but I hope to use command likeogr2ogr -f GeoJSON test.geojson test.dxf ENCODING='UTF-8'to transform, i'm not sure if it's possible.