bruno icon indicating copy to clipboard operation
bruno copied to clipboard

XML-response encoding ignored

Open tesma99 opened this issue 1 year ago • 1 comments

The response view seems to be ignoring the encoding/charset of XML-data.

XML-data with utf-8 encoding is working fine:

image

With other encodings, like windows-1252, some characters are not shown correctly:

image

I would expect, that the encoding is detected by either the encoding-attribute in the xml-header or by the charset-part inside the content-type http-header.

tesma99 avatar Mar 25 '24 10:03 tesma99

I made some changes on how the content-type header is parsed in: https://github.com/Its-treason/bruno/commit/15e11c0cedb8fa0eed46f8e6a76fc317ecc56a08 but those changes are currently only available on in my fork: https://github.com/Its-treason/bruno/releases/tag/nightly This could fix your issue.

Its-treason avatar Mar 25 '24 11:03 Its-treason