Skip to main content
Question

why does iso 8859-1 not interpret german letters correctly?

  • Feb 27, 2016 10:15 PM UTC
  • 3 replies
  • 211 views

Forum|alt.badge.img

I added a shapefile reader and set the character encoding to iso-8859-1 western european which includes german characters. When looking at the shp in ArcGIS the attributes are read correctly. In FME 2016 they are scrambled. See Screenshot. What is going wrong?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • Feb 27, 2016 10:49 PM UTC

We'd need to look more closely, but my first hunch is that the data is not in iso-8859-1. If you've set that in FME as the encoding, we will honour your setting over whatever any companion shape file codepage file says. If you try without setting any encoding in FME, what does DI look like? If you're able to zip up all the shape file parts and post them here, we could look more deeply (or send them into support@safe.com if you don't want the data public)...or use ArcGIS to delete most of the records form a copy of the problematic file and post that).

Encodings are so much fun for sure...


Forum|alt.badge.img

Hi @robertdbuckley

could you please try reading your data with Windows Latin-1 (windows-1252) encoding? Please check https://en.wikipedia.org/wiki/ISO/IEC_8859-1 for info about the difference between Win-1252 and iso-8859-1. Most likely your data is in Win-1252 rather than iso-8859-1.

If changing encoding on the Reader doesn't help, please submit support request as @daleatsafe suggested.


david_r
Celebrity
  • Feb 29, 2016 8:32 AM UTC

Hi

It looks like your data is stored as UTF-8 and not in ISO-8859-1.

Try setting Unicode UTF-8 as the codepage on your shape file reader.

David