[mapserver-dev] Encoding on WFS served from PostgreSQL by Mapserver.

Yves Jacolin yves.jacolin at camptocamp.com
Sun Feb 5 16:30:52 EST 2012


Hello,

You can check the client_encoding parameter on the postgresql side or test

*wfs_encoding* (Optional) XML encoding for all XML documents returned by
the server. The default is ISO-8859-1.

In the METADATA of the WEB object.

Y.
2012/2/5 Morten Olsen Lysgaard <morten at lysgaard.no>

> I'm using Mapserver to serve WFS from a PostgreSQL database.
> The database uses UTF8 encoding.
> When I view the tables all characters are correctly displayed,
> but when Mapserver serves them as WFS all non ASCII characters are
> mangled. How do I stop this? Do I have to set the encoding of the data
> somewhere in the Mapserver mapfile?
> ______________________________**_________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/mapserver-dev<http://lists.osgeo.org/mailman/listinfo/mapserver-dev>
>



-- 

Responsable Formation et Support

Camptocamp France SAS

Savoie Technolac, BP 352

73377 Le Bourget du Lac, Cedex

Tel (France) : +33 4 79 26 57 98

Tel (Suisse, redirection vers la France) : +41 21 619 1031

Mob. : +33 6 18 75 42 21

Fax : 04 79 70 15 81

Mail : yves.jacolin at camptocamp.com

http://www.camptocamp.com
<yves.jacolin at camptocamp.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20120205/cdbee8ca/attachment.html


More information about the mapserver-dev mailing list