[Bug] No longer a charset in content type header

As title, the API responses no longer returns a “Content-Type: application/json; charset=utf-8”, now it’s just a “Content-Type: application/json”

It’s messing up usage of certain languages in apps, specifically broadcasting titles.

I’d rather not fix this client side, so I would appreciate a fix by Twitch.


1 Like

While I agree that it would be very nice to have it specified in the header, RFC 7231 on HTTP/1.1 (2014) specifies the default character encoding is that of the media type, and RFC 4627 on application/json (2006) specifies the default character encoding to be UTF-8.

Fixed it myself client side. Maybe someone else has use for it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.