[ 
http://jira.nuxeo.org/browse/NXP-2082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florent Guillaume updated NXP-2082:
-----------------------------------

    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).

  was:
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.




> XML export uses incorrect charset
> ---------------------------------
>
>                 Key: NXP-2082
>                 URL: http://jira.nuxeo.org/browse/NXP-2082
>             Project: Nuxeo Enterprise Platform 5
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 5.1.3.1
>            Reporter: Florent Guillaume
>            Assignee: Florent Guillaume
>            Priority: Major
>             Fix For: 5.1.4
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> 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).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to