UTF8? Special Characters from dbf files?

christ.stark's Avatar

christ.stark

17 Oct, 2011 10:32 AM

Hi,

I come from Germany and so I need to display special characters (ä,ü,ö,ß) on shape layers. These characters come from a dbf file which is attached to a shape. It seems that mapbox doesn't display these characters...

Can I display them somehow?

best regards
desputin

  1. Support Staff 2 Posted by AJ on 17 Oct, 2011 01:42 PM

    AJ's Avatar

    Hi,

    TileMill assumes all datasources are UTF8-encoded unless otherwise specified - your DBF is likely in some other encoding. You can either convert your DBF to UTF8 using a tool like QuantumGIS or LibreOffice Calc, or try specifying another encoding in the "Advanced" field of the layer settings in TileMill using the syntax encoding="<encoding>".

    Many DBF files are encoded as CP1252 or ISO8859-1 so I would try those first.

  2. 3 Posted by christ.stark on 19 Oct, 2011 10:38 AM

    christ.stark's Avatar

    Thanks. Easiest way of dealing with it was to open the shape/dbf in Qgis and re-saving it with the utm-8 encoding.
    Solved.

  3. Will White closed this discussion on 21 Oct, 2011 09:34 PM.

Comments are currently closed for this discussion. You can start a new one.