http icon indicating copy to clipboard operation
http copied to clipboard

jsonBody specifies character encoding utf-8

Open holgerl opened this issue 6 years ago • 1 comments

jsonBody should specify character encoding as utf-8. If it does not, the default encoding is ISO-8859-1 [1], which is problematic with foreign characters.

[1] https://www.w3.org/International/articles/http-charset/index

holgerl avatar Oct 04 '19 11:10 holgerl

This may be redundant (https://stackoverflow.com/questions/9254891/what-does-content-type-application-json-charset-utf-8-really-mean/9254967) but maybe good to have? (https://portswigger.net/research/json-hijacking-for-the-modern-web)

lucamug avatar Jan 08 '22 02:01 lucamug