[mapserver-users] how does mapserver determine shapefile encoding?

Daniel Morissette dmorissette at mapgears.com
Tue Aug 2 17:01:18 EDT 2011


On 11-08-02 04:59 PM, Daniel Morissette wrote:
> On 11-08-02 03:45 PM, Lars Lingner wrote:
>>
>> Finally my (odd) questions are: Why does MapServer do everything right?
>> How is the encoding determined? Can I see somewhere which encoding is
>> used by MapServer?
>>
>
> MapServer has no way to tell the encoding of a shapefile. However it can
> usually deal with data in either UTF-8 or in the native encoding of your
> TTF font without specifying any encoding in the LABEL. In those cases,
> it does not try to figure the encoding, it just lets the bytes go
> straight through without looking at them (and TrueType does the rest).
>

Err... I mean FreeType does the rest...

-- 
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000



More information about the mapserver-users mailing list