I’ve done a planet load of OSM and when I view countries in the database using 
PGADMIN I can see them correctly encoded as per the image below:-

http://imgbox.com/Z5SJ911X <http://imgbox.com/Z5SJ911X>

My Mapfile looks like this:-

CLASS
 EXPRESSION 'country'
 LABEL
  FONT sc
  TYPE TRUETYPE
  ENCODING "utf-8"
  SIZE 8
  COLOR 100 100 100
  OUTLINECOLOR -1 -1 -1
  OUTLINEWIDTH 2
  WRAP ' '
  MAXLENGTH 8
  ALIGN CENTER
  BUFFER 4
  PARTIALS FALSE
  POSITION cc
 END
END

Which renders some of the characters but not Ethiopia as shown by this image

http://imgbox.com/vnGmn7jT <http://imgbox.com/vnGmn7jT>

My database server is using UTF8 as the encoding. So Is the problem with my 
font?

sc maps to DejaVuSansCondensed.ttf

I am guessing some characters are missing or I need to use another font?


_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to