Geographic Information Systems Asked by AlonTAU on February 7, 2021
My source data shapefile contains multiple attribute fields in Hebrew.
I dragged it into a new empty map in ArcGIS Pro and created a layer. The geometry and English fields of the attributes table are correctly displayed. The Hebrew ones appear as gibberish in latin characters.
I tried the same source file in QGIS. Once I set the layer encoding to Windows 1255, all fields were correctly displayed.
I don’t seem to find in ArcGIS Pro any setting that allows to control the source file encoding.
Any ideas?
Inspired by Vince's comments regarding the .cpg file, I further searched and found the very simple and effective solution. It works for my specific case but I guess it should apply for any other encoding:
Just open a new file in a text editor, write "1255" into the first line and save it as "shapefilename.cpg" in the "shapefilename" directory (where the other .shp, .shx, .dbf, etc. files are stored)
With the .cpg file in place, I dragged again the source file into the the map. This time ArcGIS Pro properly displayed the Hebrew fields.
Answered by AlonTAU on February 7, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP