Skip to content
Prev 163755 / 398506 Next

reading files (readOGR) and non-ascii characters

I'm forwarding to this list as I've got no
answer in [R-sig-Geo] and perhaps this
issue is not exclusive of readOGR()

I'm using ubuntu 8.04 andR version 2.8.0 (2008-10-20)


-------- Original Message --------
Subject: readOGR and non-ascii characters
Date: Wed, 03 Dec 2008 14:22:34 +0100
From: Agustin Lobo <aloboaleu at gmail.com>
Reply-To: Agustin.Lobo at ija.csic.es
To: sig-geo <r-sig-geo at stat.math.ethz.ch>

Hi!

I have problems at reading a shp file with readOGR(), names with
non-ascii characters (accents ',`) in the dbf table are imported as i.e.
Barber\x85 del Vall\x8as

while I can read them fine with OpenOffice Calc

Is there any way I can state the character set of the dbf file in readOGR()?

Thanks

Agus