Select to view content in your preferred language

Limited UTF-8 support

3108
2
04-25-2014 09:50 PM
YigalMuntner
Esri Contributor
1. When exporting to shapefile - Hebrew letters become gibberish.
2. Searching Hebrew tags return no results.

Yigal
Tags (2)
0 Kudos
2 Replies
by Anonymous User
Not applicable
Yigal,

Thank you for the feedback, we will log a bug for this. If possible, please post the data you are using so we can accurately address your issue.

Thank you,
Andrew
0 Kudos
SimonLiu
Deactivated User
I'd like to second this.

For example, the service below has Chinese characters in the attribute fields:

http://simon.techresearch.opendata.arcgis.com/datasets/9f0d2f8db081426eb396837a1bc77f68_1

Downloading as CSV is fine.

Downloading as a shapefile corrupts the text. However, from memory, the DBF format used by shapefiles to store attribute data has always had spotty support for non-ASCII characters, so there may not be much that can be done here.

Downloading as GeoJSON and viewing in a text editor seems to work OK, but I've noticed that when I click http://simon.techresearch.opendata.arcgis.com/datasets/9f0d2f8db081426eb396837a1bc77f68_1.geojson in my web browser, the Chinese characters are garbled if my browser's default encoding isn't set to UTF-8 (this will be the case for a lot of users in English-speaking countries). This can easily be fixed by getting the server to state the encoding in the HTTP response header (something like Content-Type: text/plain; charset=utf-8 rather than the ambiguous Content-Type: text/plain it sends at the moment)
0 Kudos