On Fri, Mar 4, 2011 at 1:47 PM, dersmich <[email protected]> wrote:

>
> Hi list,
>
> when I upload (using WinSCP) a Shapefile to my server where GeoServer works
> and add this shapefile as a layer in GeoServer, non-ansi characters in the
> attribute table are changed. I checked it by downloading this file (using
> again WinSCP) and opening it in QuantumGIS - non-ansi characters are
> phisicaly changed and replaced by "strange" characters. GeoServer 2.0.2
> which I use has UTF-8 charset.
>
> What can cause this fact, why the data are changed whitout my knowledge?
>
> Thank you in advance for any suggestions.
>

The DBF specification originally allowed only for western chars, and that is
still
the default.
In GeoServer if you have non ANSI chars in the DBF you have to set
the charset so that GS knows how to interpret the non ansi chars in the
DBF

Hope this helps

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to