You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into some problems when there where special chars within the xml (layer title for example) . I needed to use data=data.encode('utf-8') to make requests work
The text was updated successfully, but these errors were encountered:
@rajanski Can you give me a specific example about which method you were calling and what you were passing? Generally you should always use utf-8 when possible, and if your source data is not in utf-8 then I think using .encode("utf-8") is a reasonable expectation.
I currently have the same issue with french accented characters. All my strings are utf8 but somehow they are not sent to geoserver as utf8. Before I started using geoserver-rest I was making some requests to the Geoserver REST API myself and had encountered the same issue, which I fixed using encode('utf-8') on the JSON data being passed to requests.post. I don't see a way to replicate this fix with geoserver-rest, is there?
I ran into some problems when there where special chars within the xml (layer title for example) . I needed to use
data=data.encode('utf-8')
to make requests workThe text was updated successfully, but these errors were encountered: