edgar soldin wrote:


>>>
>> servers usually announce the character set they answer with.. do you check 
>> the response headers?
>> there is a nifty firefox plugin called "live http headers" btw.
>> Not sure if the character set I need is in the http response header or
>> in the xml declaration.
>> I would have say in the xml, but I haven't search for it yet.
>

> hmm. should be at least in the header. how are you supposed to know how to 
> interpret the bytestream if you do not know the encoding ;)
> if you sent me a problematic url.. i'll tell you what the header says.

Situation with WMS servers is unfortunately not very good and they do not all 
behave in a similar way. Right now I could check only Mapserver 6.0 with the 
Finnish default Windows settings.  Headers say  
Content-Type: text/xml (WMS 1.3.0) or 
Content-Type: application/vnd.ogc.wms_xml (WMS 1.1.1).  

For both versions the XML document starts as
<?xml version='1.0' encoding="ISO-8859-1" 



-Jukka-



..ede

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to