[GeoNode-users] Wrong encoding after uploading shapefile (shp)

Alessio Fabiani alessio.fabiani at geo-solutions.it
Tue Jul 9 07:33:00 PDT 2019


Hi,
most probably it depends by wrong Java settings on GeoServer.

I tested your file on my own local instance and it looks fine to me (using
UTF-8)

[image: image.png]


I had to start the JVM with the following settings:

JAVA_OPTS= .... -Djavax.servlet.request.encoding=UTF-8 -Dfile.encoding=UTF-8

set CATALINA_OPTS=-Dfile.encoding="UTF-8"


Il giorno mar 9 lug 2019 alle ore 15:39 Athanasios Fotis <tfotis at draxis.gr>
ha scritto:

> Hi all,
>
> I am trying to upload a shapefile to Geonode but the encoding of the
> features isn't correctly recognized. I don't get any error messages
> whatsoever and i can see that the layer is created successfully. But when i
> click on a feature to get the info, the data is shown in the wrong encoding.
>
> The geonode version is 2.10rc5 and the same issue happens in both a local
> dockerized  installation as well as the master demo one at
> http://master.demo.geonode.org/.
>
> Attached is the shapefile in question (although the same happens with many
> others that i have, non-english).
>
> Best regards,
>
> Thanasis
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>


-- 

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==
Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190709/361b355f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 368271 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190709/361b355f/attachment-0001.png>


More information about the geonode-users mailing list