Hello,

A quick thought that I had when I read your issue, is that I recently came across a similar issue when I was working with Japanese data. In that case for MapServer to display query results in my template properly, I had to change the character set in the HTML template file, otherwise the characters would be garbled:

<!-- MapServer Template -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<title>照会</title>
...

I'm not sure if that is related to your exact issue, but those are my quick thoughts.

-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




On 11-02-08 10:37 AM, Siegel Andreas wrote:
Hi.
Our mapserver-eniromnent entirely works in utf-8 (mapfiles, webserver,
postgres, ..) with one exception, that is, all of our shapefiles.
The shapfiles are created/updated in an Windows-environment by several,
external contributors.
Hence they are encoded in Wiindows-ANSI (cp: 1252).
If i do an GetFeatureInfo-Request on the attibutes of the shapefiles all
special characters ("umlauts") are garbled.
This is no wonder since the content of the shapefile-attributes must be
recoded to utf-8 prior to insertion in the template.html.
How can this be acomplished? I could not find anything useful in the
documentation or with google.
*Mag Andreas Siegel*
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to