Option to encode form data #3266
Unanswered
mattiasrubenson
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using httpx to send form data to a web site with this code, modified for clarity:
The problem with this is that the "ö" becomes urlencoded into "%C3%B6", instead of the "%F6" that the web service would decode into "ö".
I managed to fix this problem by adding
encoding="ISO-8859-1"inhttpx/_content:Maybe httpx could support optionally adding an encoding to your data for cases like this? Or maybe I'm going about this in a stupid way? :)
Beta Was this translation helpful? Give feedback.
All reactions