Skip to main content
Solved

Encoding per dati russi

  • July 6, 2018
  • 2 replies
  • 23 views

pdorio
Contributor
Forum|alt.badge.img+8

Ciao a tutti. Sto cercando di convertire un DWG con layer scritti in russo in shapefile.

FME Data inspector mi mostra i testi in cirillico, mentre l'esportazione in SHP mi sostituisce tutti i caratteri con punti di domanda.

Ho provato a usare tutte le combinazioni possibili con lo strumento AttributeEncoder senza risultati

Best answer by lenaatsafe

Ciao @pdorio

per favore usa Google Translate per tradurre la mia risposta in quanto non posso scrivere in italiano :)

Do you have Russian DWG layer names or Russian attribute values? Are you on Windows or Linux/Mac?

If you have Russian DWG layer names, you need to set your system locale to Russian(Russia). At the moment, FME only supports characters supported by system default encoding in dataset/feature type/attribute names. I.e. you need to have Win-1251 as your system default encoding (you most likely have Win-1252 now).

If Russian characters are in attribute values, please make sure your Shape Writer Character Encoding parameter is set to Windows Cyrillic (no need to change system locale in this case):

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.

2 replies

Forum|alt.badge.img
  • 275 replies
  • Best Answer
  • July 6, 2018

Ciao @pdorio

per favore usa Google Translate per tradurre la mia risposta in quanto non posso scrivere in italiano :)

Do you have Russian DWG layer names or Russian attribute values? Are you on Windows or Linux/Mac?

If you have Russian DWG layer names, you need to set your system locale to Russian(Russia). At the moment, FME only supports characters supported by system default encoding in dataset/feature type/attribute names. I.e. you need to have Win-1251 as your system default encoding (you most likely have Win-1252 now).

If Russian characters are in attribute values, please make sure your Shape Writer Character Encoding parameter is set to Windows Cyrillic (no need to change system locale in this case):


pdorio
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • 15 replies
  • July 9, 2018

Thank you very much!!! It works!

Regards