sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <>
Subject [jira] [Commented] (SLING-7344) Jackson Sling Model Exporter needs correct character encoding
Date Fri, 09 Feb 2018 14:34:00 GMT


Julian Reschke commented on SLING-7344:

AFAICT, this happens when you feed Strings characters into the servlet API. Does the same
happen when writing bytes to the ServletOutputStream? 

> Jackson Sling Model Exporter needs correct character encoding
> -------------------------------------------------------------
>                 Key: SLING-7344
>                 URL:
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Chris Millar
>            Assignee: Justin Edelson
>            Priority: Major
>             Fix For: Sling Models Impl 1.4.8
>         Attachments: observe-1.png, observe-2.png, observe-3.png
> This is a formal ticket of what [~justinedelson] and I discussed earlier in December
> The Jackson Sling Model Exporter needs to correctly set the character encoding so content
can be correctly handled. It currently defaults out to ISO-8859-1 which makes displaying localized
content impossible.
> I have put together a sample project here:
> This will show how the default JSON get servlet correctly handles the content, but the
Jackson exporter does not. I have also attached screenshots of the behaviors to this ticket.
> It sounded like Justin had ideas on where to solve this, so I will defer to him on where
it should be done. If I can help implement a solution in the place you want, let me know.
Internally, we cannot use the Jackson Exporter until this is fixed, so it's pretty high priority
for me to contribute back if I can.

This message was sent by Atlassian JIRA

View raw message