[Answered ]-Unicode not rendering in Django-Rest-Framework browsable API in Chrome

2👍

You likely miss the system language settings available within Django. Depending on your stack (apache or supervisor do remove default system settings) you will need to define it explicitly.

The reason is, unicode is for Python internal specific. You need to encode the unicode into an output format. Could be utf8, or any iso code.

Note that this is deferent from the header# -*- coding: utf-8 -*- which goal is to decode the file into unicode using the utf-8 charset. It doesn’t mean that any output within that file code will be converted using utf8.

Leave a comment