[GRASS-user] Importing Mapinfo files with encoding "cp1253'

I got some Mapinfo vector data with Greek characters in both the attribute column names and the attribute row strings. Initially, both in GRASS and QGIS the characters appear messy. I verified, inside QGIS, that the encoding in question is "cp1253" [0]. Passing this while importing the data in GRASS, like

v.in.ogr dsn=Roads.TAB out=roads encoding=cp1253 --o

does not work though (using ogrinfo --version, GDAL 1.10.1, released 2013/08/26). Is there a proper encoding instruction to pass to v.in.ogr, other than "cp1253"? I want to avoid solving this externally.

Nikos

[0] https://en.wikipedia.org/wiki/Windows-1253

Nikos Alexandris wrote:

I got some Mapinfo vector data with Greek characters in both the
attribute column names and the attribute row strings. Initially, both
in GRASS and QGIS the characters appear messy. I verified, inside
QGIS, that the encoding in question is "cp1253" [0].

That should be windows-1253

Passing this while importing the data in GRASS, like

v.in.ogr dsn=Roads.TAB out=roads encoding=cp1253 --o

v.in.ogr dsn=Roads.TAB out=roads encoding=windows-1253 --o

does not work either.

..

[0] https://en.wikipedia.org/wiki/Windows-1253

Nikos

Hi,

in the layer manager, menu “Settings” / then “preferences”, tab “attribute”, there is a field to specify encoding for data => this does not change the encoding of the data, but the encoding used to display it …

Sylvain

···

2014-06-12 17:12 GMT+02:00 Nikos Alexandris <nik@nikosalexandris.net>:

I got some Mapinfo vector data with Greek characters in both the attribute column names and the attribute row strings. Initially, both in GRASS and QGIS the characters appear messy. I verified, inside QGIS, that the encoding in question is “cp1253” [0]. Passing this while importing the data in GRASS, like

v.in.ogr dsn=Roads.TAB out=roads encoding=cp1253 --o

does not work though (using ogrinfo --version, GDAL 1.10.1, released 2013/08/26). Is there a proper encoding instruction to pass to v.in.ogr, other than “cp1253”? I want to avoid solving this externally.

Nikos

[0] https://en.wikipedia.org/wiki/Windows-1253


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user