Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I've been told, by the administrator, that this geoserver is outputting utf-8: http://wfs-kbhkort.kk.dk/web/, however I can only get good results when parsing WFS from latin1 to utf-8. Can anyone confirm that the geoserver is correctly outputting utf-8 or confirm that it is latin1. If it is latin1, then how can I tell the administrator to change it to utf-8?

I know this perhaps is a rather odd question, but I'm very new to geoserver (and GIS in general)...

share|improve this question
    
Maybe its far of, but could it be your request that is formatted to latin1 and thus the GeoServer responds in latin1? –  Chau Oct 22 '13 at 13:04
    
Maybe :) This is my request: wfs-kbhkort.kk.dk/k101/… –  user809829 Oct 22 '13 at 13:16
    
I cannot determine the encoding of your request. You have to determine how you encode the request you send to the GeoServer. –  Chau Oct 23 '13 at 9:15
    
I'm using python's requests library for getting results. This is my code: res = requests.get(url, timeout=url_timeout) I guess this is somewhat out of the scope of this forum...? –  user809829 Oct 24 '13 at 11:06
    
You might wan't to search in or ask a question at stackoverflow.com regarding encoding, python and the requests library. Encoding can be very tricky. –  Chau Oct 24 '13 at 12:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.