I'm having a problem getting HttpWebRequest to use ISO-8859-1 encoding for parametres in a webrequest, the problem is related to both POSTs and GETs.
The problem in a nutshell is that any request parametres that contain non-ascii characters like Ö and æ, gets converted to their UTF-8 % representations rather than their ISO-8859-1 representations.
Ö gets converted to %c3%96 instead of %d6.
My current idea for a solution is to convert the request-string to an ISO-8859-1 byte array, and then convert the bytearray back to UTF-8, char for char, while catching any bytes > 127 and converting those to their %hex values instead.
Is there a better way of solving this issue?