wfs server and encoding

Daniel Morissette dmorissette at MAPGEARS.COM
Wed Oct 24 12:23:06 PDT 2007


Daniel Morissette wrote:
> 
> 2- The TAB attributes are stored in the .MID file which is a regular 
> text file. You could use the iconv command-line utility (on Linux 
> anyway) to convert the encoding of attributes to UTF-8:
> 
>   iconv –from-code=ISO-8859-1 –to-code=UTF-8 mydata.mid > mydata_utf8.mid
> 
> 3- Copy mydata.mif to mydata_utf8.mif
> 

Oh... you may want to run the .MIF file through iconv as well so that if 
your data contains text labels they are also converted to UTF-8.

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the MapServer-users mailing list