Can we be sure that the charset is always UTF-8?

I checked that by default `json.dumps` uses UTF-8 encoding, but for the other content-types I don't know whether the code enforces converting from whatever encoding / unicode to UTF-8 byte-strings.