Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7344

Jackson Sling Model Exporter needs correct character encoding

    XMLWordPrintableJSON

    Details

      Description

      This is a formal ticket of what Justin Edelson and I discussed earlier in December 2017.

      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: https://github.com/auniverseaway/sling-exporter-sample

      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.

        Attachments

        1. observe-2.png
          141 kB
          Chris Millar
        2. observe-1.png
          150 kB
          Chris Millar
        3. observe-3.png
          138 kB
          Chris Millar

          Issue Links

            Activity

              People

              • Assignee:
                justinedelson Justin Edelson
                Reporter:
                auniverseaway Chris Millar
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: