Problem with Encoding

Martin Krempl amokerk at POST.CZ
Wed Apr 19 17:14:05 EDT 2006


Hi, I´ve got some problem with encoding text.
I´m using MapServer 4.8.1, PHP 4.3.11, WinXP or Linux.
I´ve got Postgres database, encoding my database is UTF-8. When I try 
print layer with labels some characters are displayed wrong (matching 
ISO-8859-2 charset).

/Here is definition of layer/

LAYER
    NAME zastavky
    DATA "the_geom from zastavky"
    STATUS ON
    TYPE   POINT
    LABELITEM smer
    CLASS
      NAME "zeleznice"
      COLOR 0 0 0
      SYMBOL 'bus'
      LABEL
          COLOR 0 0 0
          SIZE tiny
        FONT 'tnr'
        ENCODING 'UTF-8'
        END
    END
  END


I have got on my system ICONV library instaled. Does anybody know what 
is wrong in my solution.

Thanks Martin Krempl



More information about the mapserver-users mailing list