[OpenLayers-Users] Encoding in features attributes

Juanma M. R. juanma.mr at gmail.com
Fri Oct 9 02:57:46 PDT 2015


Dear list,

I have a WFS layer already loaded in Openlayers 2.13 version. The problem
is that some attributes are spanish characters and are not shown correctly.

I have checked and in database and WFS response are correctly shown in
pgadmin and firebug. When checking feature attributes already loaded in
OpenLayers with firebug it shows them with strange characters. The webpage
OL is loaded is in UTF8 encoding.

I have looked in OL documentation for some kind of encoding parameter for
WFS layer / protocol. Is OL using any internal encoding or maybe firebug
assumes something in WFS communication that OL do not?

Regards,
Juan Manuel Moreno Rivera.

Sección de Teledetección y SIG / Remote Sensing & GIS group

Instituto de Desarrollo Regional / Institute for Regional Development

Universidad de Castilla-La Mancha / University of Castilla-La Mancha

Tlf: +34 967599200 (Ext: 2627)
http://www.teledeteccionysig.es/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20151009/4f7d47f6/attachment.html>


More information about the Users mailing list