Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTF-8 characters #192

Open
barbier opened this issue Jul 19, 2017 · 3 comments
Open

UTF-8 characters #192

barbier opened this issue Jul 19, 2017 · 3 comments

Comments

@barbier
Copy link
Contributor

barbier commented Jul 19, 2017

There are some text coming from GeoServer without sanitization, see picture below

Extracted JSON:

"properties":{  
                "Registro_DRM":"SG-EM-E005",
                "Município":"São Gonçalo",
                "Espelho_de_Risco":5,
                "Coordenada_E":700486,
                "Coordenada_N":7472169,
                "Fuso_UTM":"SAD 69 Fuso 23S",
                "Documento_de_Origem":"Espelho de Risco Potencial em área de expansão urbana (DRM)",
                "Data_do_Documento":"25/02/2014",
                "Descrição_do_Ponto_de_Visada":"Localizada no bairro Engenho Pequeno,compostos por solo residual e solo pouco espessos sobre rocha, com altitudes de 100 metros, e por entre vales estreitos e sopés de\nencosta (Foto de sobrevoo). Em alguns pontos nota-se presença de blocos ‘in situ��"
}

image

@barbier
Copy link
Contributor Author

barbier commented Jul 21, 2017

It's even worse when exporting a file

image

@nighto
Copy link
Contributor

nighto commented Jul 21, 2017

https://gis.stackexchange.com/questions/158600/geoserver-utf-8-wfs-export-utf-8-problem

GeoSolutions.it has gave me a solution that adding &format_options=CHARSET:UTF-8 to WFS URL and this solves the problem for SHP export.

Maybe it is as simple as that.

@barbier
Copy link
Contributor Author

barbier commented Aug 8, 2017

Don't seems to work because the solution of this link is to WFS URLs, on the example above we work with WMS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants