HttpRequest: assume that the encoding is UTF-8


Converting the header from Latin1 does not look correct.
Similarly, calling toLocal8Bit() will not provide UTF-8 on Windows,
and httpAttributeEncode() clearly tries to represent the attribute
as UTF-8.

Change-Id: Iebbf20a3809baa69b17a1d4bebf26580e8b955b0
Reviewed-by: Rym Bouabid <rym.bouabid@qt.io>
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
commitc1e1a02aacccfb4e0dac18c606350f89290cf61b
parentd15db2c56ce31c6eb2ad3745a777b268d346ec9d
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeWed, 10 Sep 2025 11:53:15 +0200