it was probably just that one-liner. i tested with a bunch of different header parameters and running powershell in different charsets. glad you pointed me to the solution though! I believe it converts the data to bytes, and just sends the bytes, ignoring charsets or something.
... View more