Add `JSON_ASCII` option to remove unneeded decoding on client side #535

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants

bobuk commented Jul 1, 2012

This patch will remove weird behaviour and add JSON_ASCII configuration options.
I also had an audacity to correct mimetype encoding for JSON to 'utf-8' by default.

I don't sure what that patch must be applied in master but I just want to place it here for other guys :)

Currently Flask use default ``ensure_ascii=True`` for jsonify.
This patch will remove weird behaviour and add `JSON_ASCII` configuration options.
I also had an audacity to correct mimetype encoding for JSON to 'utf-8' by default.

This pull request passes (merged c2feddf into ee3e251).

@mitsuhiko mitsuhiko closed this in 8339cb3 Oct 17, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment