ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding

Ian Gilbert-2
I am trying to import some data from a previous instance of Ofbiz into a test system (the contents
of ProductCategory).  I am using the import tool in webtools but am getting the above error.  Does
anyone know what this might be?  Has anyone seen this before?

Thanks and very best wishes


Ian Gilbert
www.ethicalshopper.net
Fair trade: the alternative choice for your everyday shopping
0845 456 2429

WHAT DO YOU DRINK AT WORK?
We can supply your organisation with high quality fair trade tea and
coffee.  Discounts are available for regular orders.  Contact us for more
details.

Reply | Threaded
Open this post in threaded view
|

Re: ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding

BJ Freeman
I am guessing there is a international char in the category string.

Ian Gilbert sent the following on 7/8/2006 1:10 PM:

> I am trying to import some data from a previous instance of Ofbiz into a test system (the contents
> of ProductCategory).  I am using the import tool in webtools but am getting the above error.  Does
> anyone know what this might be?  Has anyone seen this before?
>
> Thanks and very best wishes
>
>
> Ian Gilbert
> www.ethicalshopper.net
> Fair trade: the alternative choice for your everyday shopping
> 0845 456 2429
>
> WHAT DO YOU DRINK AT WORK?
> We can supply your organisation with high quality fair trade tea and
> coffee.  Discounts are available for regular orders.  Contact us for more
> details.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding

Walter Vaughan
In reply to this post by Ian Gilbert-2
Ian Gilbert wrote:

> I am trying to import some data from a previous instance of Ofbiz into a test system (the contents
> of ProductCategory).  I am using the import tool in webtools but am getting the above error.  Does
> anyone know what this might be?  Has anyone seen this before?

I have seen this when we started experimenting with importing data from our
existing system. In this case your friend is "xmllint". It's in the freeBSD
ports collection, and I'll leave it up to you to install it in the OS of your
choice. xmllint should give you enough info to find the offending character(s).

In our case the character that caused all the problem is \x94 which is a
typographic double quote. We had some data that was cut and pasted from an Adobe
Indesign file that had inch marks that looked okay in our existing database
system, and would display fine in our website, but caused a lot of grief when we
were importing into ofBiz for test purposes.

--
Walter

P.S. Yesterday I made my reservations for OSCON. Looking forward to meeting with
several of you ofBiz'ers!
Reply | Threaded
Open this post in threaded view
|

Re: ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding

Ian Gilbert-2
In reply to this post by BJ Freeman
Could you give me an example of what that might be?  I'm in the UK and the settings are UK but
it's not impossible that I've got some odd data in there.  I can do a search for it though ...

Ian
On Sun, July 9, 2006 04:18, BJ Freeman wrote:

> I am guessing there is a international char in the category string.
>
>
> Ian Gilbert sent the following on 7/8/2006 1:10 PM:
>
>> I am trying to import some data from a previous instance of Ofbiz into a test system (the
>> contents of ProductCategory).  I am using the import tool in webtools but am getting the above
>> error.  Does anyone know what this might be?  Has anyone seen this before?
>>
>> Thanks and very best wishes
>>
>>
>>
>> Ian Gilbert
>> www.ethicalshopper.net Fair trade: the alternative choice for your everyday shopping
>> 0845 456 2429
>>
>>
>> WHAT DO YOU DRINK AT WORK?
>> We can supply your organisation with high quality fair trade tea and
>> coffee.  Discounts are available for regular orders.  Contact us for more details.
>>
>>
>


--
Ian Gilbert
www.ethicalshopper.net
Fair trade: the alternative choice for your everyday shopping
0845 456 2429

WHAT DO YOU DRINK AT WORK?
We can supply your organisation with high quality fair trade tea and
coffee.  Discounts are available for regular orders.  Contact us for more
details.