[mapserver-users] OGR Virtual Format and character encoding

Chris Jackson webturtles at gmail.com
Fri Aug 31 13:07:20 PDT 2012


All

One thought I did have, if the characters where html encoded in the SQL
table (e.g. ü as ü) is there anyway to get MapServer to render them
correctly again in a label?  I guess OGR can only deal with UTF-8 encoded
characters (I am using nvarchar fields, but in an ISO collation in SQL 2005
- not v.UTF-8 friendly I think!)

Thanks
Chris

On 30 August 2012 15:46, Chris Jackson <webturtles at gmail.com> wrote:

> Hi all
>
> I have OGR Virtual Format layer in my map file and the underlying .OVF is
> calling a flat MS SQL table of point data.  The layer displays fine, but I
> am having issues with umlauts etc for one of the attribute fields.  When I
> run the ogrinfo command on the layer, it has already messed up the
> encoding.  In SQL it looks and queries fine.  Any pointers on how you can
> maintain the encoding?
>
> Many thanks
> Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120831/fdf10e48/attachment.html>


More information about the mapserver-users mailing list