Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-2082

XML export uses incorrect charset

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.3.1
    • Fix Version/s: 5.1.3.2
    • Component/s: Core

      Description

      When exporting a document containing non-ASCII characters (for example in the description field), the XML export done through nuxeo-core-io is done with the header
      <?xml version="1.0" encoding="UTF-8"?>
      but the caracters contained are actually using the latin-1 charset.
      This makes the XML file illegal and prevents any further reimport.

      This was tested through nuxeo-shell.

      The restlet export (exportTree?format=XML) also uses incorrect charset but of a different nature, an export for "café" gives "caf?\u00a9" (with an actual question mark).

        Attachments

          Activity

            People

            • Assignee:
              fguillaume Florent Guillaume
              Reporter:
              fguillaume Florent Guillaume
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified