Mapserver and Unicode utf-8

Mario Basa mario.basa at GMAIL.COM
Tue Apr 17 22:18:26 PDT 2007


Hi,

The ENCODING parameter converts the character string into UTF-8, so I
don't think it will be very helpful if the original string is in UTF-8
already.

Just make sure that the font set that is being used can handle UTF-8
characters. Also, if the data is in a different character set before
it was imported into a UTF-8 PostgreSQL db, make sure that the
"\encoding" command is used before importing.

mario.


On 4/18/07, Steve Lime <Steve.Lime at dnr.state.mn.us> wrote:
> I didn't see anyone post an answer so just in case. Take a look at the ENCODING parameter in the LABEL object.
>
> Steve
>
> >>> anhtin <anhtin at GMAIL.COM> 04/16/07 2:53 AM >>>
> hi all
> i am developing app map use Mapserver and Database PostGis
> i have a layer province in postgis is table province
> into province have column name_porvince datatype is character varying
> Database : ENCODING = 'UTF8'
> On the mapfile i show name_province but when run some character not format
> utf-8
> How is config on Mapfile or Mapserver show text on image is utft-8
> --
> View this message in context: http://www.nabble.com/Mapserver-and-Unicode-utf-8-tf3582899.html#a10011683
> Sent from the Mapserver - User mailing list archive at Nabble.com.
>



More information about the MapServer-users mailing list