JSON and JSONP default to UTF-8 in the same way as HTML. Introduces app.set('charset') to set charset default at the application level. Closes #632.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Daniel Shaw · committed by Tj Holowaychuk · parent ccc39e5 · Browse files · 2 files+9 added−7 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
Diff stats
2 files+9 added−7 removed
- tests:+6 added−6 removed
- other:+3 added−1 removed