Fixed message truncation bug
Fixed message truncation bug

The length of the utf-8 encoded body may be different than the unicode length of the string. This causes message truncation
on the response. This patch fixes the issue.
awslabs/chalice