[ 
http://jira.nuxeo.org/browse/NXP-2082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33231#action_33231
 ] 

Florent Guillaume commented on NXP-2082:
----------------------------------------

XMLDirectoryWriter was passing to a XMLWriter a FileWriter (which uses the 
default platform charset for string conversion -- which is bad) instead of a 
FileOutputStream with which charset use is explicit.



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

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