[Featureserver] type=OGR & encoding problem
Alexandre Dube
adube at mapgears.com
Wed Aug 5 14:34:18 EDT 2009
Christopher Schmidt wrote:
>> I looked in the code source and it doesn't seem to support other
>> character encodings than utf8. Is this right ? Or is this a known bug
>> ? Any workaround ?
>>
>
> Not a bug, just a lack of functionality.
>
> if isinstance(value, str): value = unicode(value, "utf-8")
>
> Change that line to iso-8859-1, and ou should be good. If youd like to make
> it configurable and send a patch, all the better.
>
Understood.
Thanks Christopher,
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the Featureserver
mailing list