Fix Content Length when Multibyte characters are present.

Bryan Tong requested to merge nullivex/kado:contentLengthMultibyteFix into master

This bug would cause responses to not be fully received by the browser or client when multibyte characters are contained in strings in the payload. This affected JSON and HTML responses.

This also adds default JSON escaping that would cause older browsers and some newer to not process the JSON responses properly.

Closes #121 (closed)

Edited by Bryan Tong

Merge request reports