[postgis-users] Problem with the Codification/charset from Postgis to mapserver

Barend Kobben kobben at itc.nl
Fri Apr 4 01:24:21 PDT 2008


.... also make sure Mapserevre connects as a UTF-8 client to PG by satining
including in the CONNECTION object:
options='-c client_encoding=UTF8'


-- 
Barend Köbben
International Institute for Geo-Information
Sciences and Earth Observation (ITC)
PO Box 6
7500AA Enschede, The Netherlands
+31 (0)53 4874253



On 03-04-2008 18:10, "Stephen Woodbridge" <woodbri at swoodbridge.com> wrote:

> Emilio Ponce wrote:
>> Hi everyone!
>> 
>> Recently I've done a simple mapfile (mapserver) that gets a postgis
>> table and represents it. The problem is about the codification: The
>> Postgis database is coded as UTF8 and when I represent a varchar column
>> with mapserver the accents and especial characters are wrong. What can I
>> do? Can I easily change the mapserver codification?
> 
> This is probably better posted to the mapserver list. But you might try
> adding to your label block
> 
> ENCODING "UTF-8"
> 
> -Steve W
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

International Institute for Geo-Information Science and Earth Observation (ITC)
Chamber of Commerce: 410 27 560

E-mail disclaimer
The information in this e-mail, including any attachments, is intended for the addressee only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or action in relation to the content of this information is strictly prohibited. If you have received this e-mail by mistake, please delete the message and any attachment and inform the sender by return e-mail. ITC accepts no liability for any error or omission in the message content or for damage of any kind that may arise as a result of e-mail transmission.



More information about the postgis-users mailing list