[ 
https://issues.apache.org/jira/browse/OFBIZ-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638265#action_12638265
 ] 

Marco Risaliti commented on OFBIZ-1957:
---------------------------------------

Hi Bruno,

could you try to replace the special unicode characters with the escaped 
unicode version and probably you will be able to load those data.
In your exaple the tag entity-engine-xml was not closed correctly and it's 
missing the definition of dataResourceId ERRORE.

<entity-engine-xml>
<ElectronicText dataResourceId="ERRORE">
<textData>perch\u00E8 d\u00E0 errore?</textData>
</ElectronicText>
</entity-engine-xml>

So if everything is ok you can close this issue as invalid.

Thanks
Marco

> Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 
> Encoding
> --------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1957
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1957
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: SVN trunk rev.694324
>            Reporter: Bruno Busco
>
> While using webtools XML data import feature to import a file containing this:
> <?xml version="1.0" encoding="UTF-8"?>
> <entity-engine-xml>
>   <ElectronicText dataResourceId="ERRORE">
>       <textData>perchè dà errore?</textData>
>   </ElectronicText>
> <entity-engine-xml>
> the following error if given:
> ERROR: Error parsing entity xml file: java.io.CharConversionException: 
> Invalid UTF-8 Encoding
> The same happens if the import textbox is used
> I have found this subject recurring many time in the mailing lists archive 
> but never with a conclusion (AFAIK).
> May be a related issue that could help to fix this is: OFBIZ-1083 where a 
> similar problem was fixed for emails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to