Fix encoding issues with AjaxMessagesMiddleware.
Bump version and update changelog.