hook.io icon indicating copy to clipboard operation
hook.io copied to clipboard

Accented characters problem

Open superzolom opened this issue 7 years ago • 2 comments

Hook.io seems to have trouble to handle accented and special characters. For example, a JSON webhook contains a string "bœuf". In hook.io logs, the strings becomes 'BÅ“uf'.

superzolom avatar Nov 13 '18 19:11 superzolom

I'm not really sure how we could resolve this?

I believe most of the cases were you are seeing BÅ“uf' instead of bœuf is due to the HTML document itself not having the correct encoding tags?

https://www.w3.org/International/questions/qa-html-encoding-declarations

For some cases I think we can easily add the tag ( such as the logs page ), but for other places ( like the contents of a service responding in a browser ) I'm not sure exactly the best way to fix this.

I'm open to suggestion if anyone has any suggestions.

Marak avatar Mar 29 '19 16:03 Marak

Looks like your using latin1 encoding.

MarcMcIntosh avatar Sep 02 '19 13:09 MarcMcIntosh