[Qgis-user] Questions on CSV plugin & UTF8, or dbf to spatial.

Agustin Lobo alobolistas at gmail.com
Tue Oct 25 05:36:24 PDT 2011


I think you might be doing it right the second time (when you save as
shape in utf8 encoding), but perhaps you are still reading it
as non-UTF8 coding, hence you would see it wrong. When you open the
new shape file, do you select UTF8 as encoding?
Agus

2011/10/25 Koos Hagg <hagg.koos at gmail.com>:
> Thanks for the idea. I thought of that but unfortunately it's not working
>
> when I load the csv (ignoring the incorrect characters) and go to save as a
> new csv in utf8, a dialog pops up saying:
>>
>> Save Error
>> Export to vector file failed.
>> Error: creation of data source failed (OGR error:)
>
>
> i get this error in 1.7.1-2and the latest dev version
> So that's no go. tried doing the same thing 'save as' but then a shapefile,
> but that still has incorrect characters.
>
> I did see the XY tools plugin by Richard Duivenvoorde, but I think it's the
> wrong way around for this case, seems to me that it is designed for
> digitizing from the canvas, to fill x,y columns, instead of take xy columns
> and plot them...
>
>
> Koos
>
> On Tue, Oct 25, 2011 at 5:51 PM, Agustin Lobo <alobolistas at gmail.com> wrote:
>>
>> I think you must read it "wrong" and then use Save As to change the
>> encoding, but
>> I've not done that recently.
>> Agus
>>
>> 2011/10/25 Koos Hagg <hagg.koos at gmail.com>:
>> > Hi Everyone,
>> >
>> > Is there a way to force the Delimited text plugin to read/process UTF8
>> > encoded .csv's?
>> >
>> > I am working with Vietnamese characters, which display fine encoded
>> > UTF8.
>> > Working from an access database, I export my queries/tables/whatever and
>> > save them as a csv, in UTF8 with OpenOffice. That works fine. If I then
>> > open
>> > my csv with notepad++ or similar, the characters are preserved- great!
>> > But
>> > when I bring the file in with the Delimited text plugin, the characters
>> > are
>> > messed up. Why is this? how can I fix it?
>> >
>> > Alternatively:
>> > I can save the tables I want as dbf, which actually load nicely into
>> > QGIS as
>> > a table, no problems with characters. My tables have Lat & Long columns.
>> >
>> > How can I tell QGIS to draw points/create a spatial layer based on those
>> > 2
>> > columns? Is there a plugin for that that I have missed?
>> >
>> > Right now my work-around is to load both a csv and a dbf, and then join
>> > the
>> > dbf to the csv points layer, and save as shapefile, deleting the fields
>> > that
>> > are no good. It works but it is a little cumbersome.
>> >
>> > Thanks!
>> > Koos Hagg
>> >
>> > Oh, using QGIS 1.8+ on Windows 7 (64 bit)
>> >
>> > _______________________________________________
>> > Qgis-user mailing list
>> > Qgis-user at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/qgis-user
>> >
>> >
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>



More information about the Qgis-user mailing list