You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Amine Benkirane <be...@hotmail.com> on 2008/09/09 14:50:16 UTC

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

   Hi,

When I try to import a Text containing polish character like this :

<entity-engine-xml>
<Product productId="000000000000194327PL" productTypeId="FINISHED_GOOD" internalName="Chappi z wołowinš i drobiem 3kg prom" productName="Chappi z wołowinš i drobiem 3kg prom" isVirtual="N" isVariant="N" requireInventory="N" createdByUserLogin="admin" createdDate="2008-09-09 14:12:49.000" lastModifiedByUserLogin="admin" lastModifiedDate="2008-09-09 14:12:49.000" lastUpdatedStamp="2008-09-09 14:12:49.000" lastUpdatedTxStamp="2008-09-09 14:12:49.000" createdStamp="2008-09-09 14:12:49.000" createdTxStamp="2008-09-09 14:12:49.000"/>
</entity-engine-xml>


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

However, when I import this product by using a file, it works. For my specific needs, I use the "entityImport" service from one of my java class using fulltext as parameter. I don't want to create files on the application server. So is there a solution or is this issue known to use the fulltext parameter and polish character to import products ?

Thanks !

Best regards,

Amine



_________________________________________________________________
Installez gratuitement les 20 émôticones Windows Live Messenger les plus fous ! Cliquez ici !
http://www.emoticones-messenger.fr/

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

Posted by Bruno Busco <br...@gmail.com>.
I use the following line as the first line of XML files that I then import
with the ImportDir service:

<?xml version="1.0" encoding="ISO-8859-1"?>
<entity-engine-xml>

Without that line I had the same error you have while importing Italian
language strings containing "à, è, ì, ù etc."

Hope this helps,
-Bruno

2008/9/9 Sven Wesley <sv...@gmail.com>

> I believe that the file way was the working way, wasn't it?
> Are you sure that the String encoding is set to UTF-8 on the text sent to
> the service?
>
> Regards,
> Sven
>
> 2008/9/9 Jacques Le Roux <ja...@les7arts.com>
>
> > Maybe
> >
> http://www.nabble.com/forum/Search.jtp?local=y&forum=2740&query=CharConversionException+Invalid+UTF-8+Encoding
> >
> > Jacques
> >
> > From: "Amine Benkirane" <be...@hotmail.com>
> >
> >  Hi,
> >
> > When I try to import a Text containing polish character like this :
> >
> > <entity-engine-xml>
> > <Product productId="000000000000194327PL" productTypeId="FINISHED_GOOD"
> > internalName="Chappi z wołowinš i drobiem 3kg prom" productName="Chappi z
> > wołowinš i drobiem 3kg prom" isVirtual="N" isVariant="N"
> > requireInventory="N" createdByUserLogin="admin" createdDate="2008-09-09
> > 14:12:49.000" lastModifiedByUserLogin="admin"
> lastModifiedDate="2008-09-09
> > 14:12:49.000" lastUpdatedStamp="2008-09-09 14:12:49.000"
> > lastUpdatedTxStamp="2008-09-09 14:12:49.000" createdStamp="2008-09-09
> > 14:12:49.000" createdTxStamp="2008-09-09 14:12:49.000"/>
> > </entity-engine-xml>
> >
> >
> > I had this error : ERROR: Error parsing entity xml file:
> > java.io.CharConversionException: Invalid UTF-8 Encoding.
> >
> > However, when I import this product by using a file, it works. For my
> > specific needs, I use the "entityImport" service from one of my java
> class
> > using fulltext as parameter. I don't want to create files on the
> application
> > server. So is there a solution or is this issue known to use the fulltext
> > parameter and polish character to import products ?
> >
> > Thanks !
> >
> > Best regards,
> >
> > Amine
> >
> >
> >
> > _________________________________________________________________
> > Installez gratuitement les 20 émôticones Windows Live Messenger les plus
> > fous ! Cliquez ici !
> > http://www.emoticones-messenger.fr/
> >
>

Resolved : Freemarker and XHTML

Posted by Eric DE MAULDE <er...@free.fr>.
OK : My navigator "view selection source" (Firefor 3) doesn't display "/" or 
end-tags
Thanks

Eric
----- Original Message ----- 
From: "Adrian Crum" <ad...@hlmksw.com>
To: <us...@ofbiz.apache.org>
Sent: Wednesday, September 10, 2008 2:12 AM
Subject: Re: Freemarker and XHTML


>I don't think the problem is Freemarker's fault. You can look at the page 
>source of any OFBiz web page and see plenty of closing tags.
>
> Take a closer look at what you're doing.
>
> -Adrian
>
> Eric DE MAULDE wrote:
>> Hi,
>>
>> When I write a HTML tag without end-tag, in a Freemarker file,
>> I would like to be conform with XHTML
>> ex. <img ... /> <br/>
>>
>> But Freemarker deletes "/" at the tag end, or it deletes the end-tag 
>> </img>, </br>
>> in the case <img ...></img>, <br></br>
>>
>> Do you have a solution to preserve XHTML ?
>>
>> Thanks
>>
>> Eric
>>
>>
> 


Re: Freemarker and XHTML

Posted by Adrian Crum <ad...@hlmksw.com>.
I don't think the problem is Freemarker's fault. You can look at the 
page source of any OFBiz web page and see plenty of closing tags.

Take a closer look at what you're doing.

-Adrian

Eric DE MAULDE wrote:
> Hi,
> 
> When I write a HTML tag without end-tag, in a Freemarker file,
> I would like to be conform with XHTML
> ex. <img ... /> <br/>
> 
> But Freemarker deletes "/" at the tag end, or it deletes the end-tag 
> </img>, </br>
> in the case <img ...></img>, <br></br>
> 
> Do you have a solution to preserve XHTML ?
> 
> Thanks
> 
> Eric
> 
> 

Freemarker and XHTML

Posted by Eric DE MAULDE <er...@free.fr>.
Hi,

When I write a HTML tag without end-tag, in a Freemarker file,
I would like to be conform with XHTML
ex. <img ... /> <br/>

But Freemarker deletes "/" at the tag end, or it deletes the end-tag </img>, 
</br>
in the case <img ...></img>, <br></br>

Do you have a solution to preserve XHTML ?

Thanks

Eric


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

Posted by Amine Benkirane <be...@hotmail.com>.
Yes I checked it, it was UTF-8...

Regards,
Amine


> Date: Sat, 13 Sep 2008 20:28:52 +1200
> From: lektran@gmail.com
> To: user@ofbiz.apache.org
> Subject: Re: Import Text : "ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding"
> 
> Have you checked the encoding on the browser you are using?  I took a
> straight copy/paste out of this thread and the product loaded fine.
> 
> Regards
> Scott
> 
> 2008/9/13 Bruno Busco <br...@gmail.com>:
> > Amine,
> > I am having the same your problem while importing some content data and I
> > found that even with the ISO-8859-2 the problem is still there (sorry for
> > the false solution I gave you).
> > Looking in the mail archive I found this subject recurring many times but
> > was never solved.
> > I think we need a JIRA issue (may be there is already one).
> > -Bruno
> >
> > 2008/9/10 Amine Benkirane <be...@hotmail.com>
> >
> >>
> >> Yes I try this into the OFBiz XML import :
> >>
> >> <?xml version="1.0" encoding="ISO-8859-2"?>
> >> <entity-engine-xml>
> >>  <Product productId="000000000000103816PL" productTypeId="FINISHED_GOOD"
> >> internalName="Twix - zestaw 6 batonów lodowych 261g" productName="Twix -
> >> zestaw 6 batonów lodowych 261g" isVirtual="N" isVariant="N"
> >> requireInventory="N" rawWeightUE="3.954" netWeightUE="3.132"
> >> uomWeightUE="KGM" eanCodeUE="4011100053397" productDepth="0.21"
> >> depthUCUomId="MTR" productWidth="0.13" widthUCUomId="MTR"
> >> productHeight="0.034" heightUCUomId="MTR" brandName="TWIX" PCB="12"
> >> shippingDepth="0.274" shippingDepthUomId="MTR" shippingWidth="0.214"
> >> shippingWidthUomId="MTR" shippingHeight="0.225" shippingHeightUomId="MTR"
> >> weight="265.8" weightUCUomId="GRM" eanCodeUC="4011100053380"
> >> marsCountryNumber="218" enabled="N" createdByUserLogin="admin"
> >> createdDate="2008-09-10 11:12:27.000" lastModifiedByUserLogin="admin"
> >> lastModifiedDate="2008-09-10 11:12:27.000" lastUpdatedStamp="2008-09-10
> >> 11:12:27.000" lastUpdatedTxStamp="2008-09-10 11:12:27.000"
> >> createdStamp="2008-09-10 11:12:27.000" createdTxStamp="2008-09-10
> >> 11:12:27.000" />
> >> </entity-engine-xml>
> >>
> >>
> >> But I had the same error...
> >>
> >> Amine
> >>
> >>
> >> > From: jacques.le.roux@les7arts.com
> >> > To: user@ofbiz.apache.org
> >> > Subject: Re: Import Text : "ERROR: Error parsing entity xml file:
> >> java.io.CharConversionException: Invalid UTF-8 Encoding"
> >> > Date: Wed, 10 Sep 2008 12:00:41 +0200
> >> >
> >> > Did you try Bruno's tip ?
> >> >
> >> > JAcques
> >> >
> >> > From: "Amine Benkirane" <be...@hotmail.com>
> >> > >From OFbiz import page, when I try to import this Text directly :
> >> > <?xml version="1.0" encoding="UTF-8" ?>
> >> > <entity-engine-xml>
> >> > <Product productId="000000000000194327PL" productTypeId="FINISHED_GOOD"
> >> internalName="Chappi z wołowinš i drobiem 3kg prom"
> >> > productName="Chappi z wołowinš i drobiem 3kg prom" isVirtual="N"
> >> isVariant="N" requireInventory="N" createdByUserLogin="admin"
> >> > createdDate="2008-09-09 14:12:49.000" lastModifiedByUserLogin="admin"
> >> lastModifiedDate="2008-09-09 14:12:49.000"
> >> > lastUpdatedStamp="2008-09-09 14:12:49.000" lastUpdatedTxStamp="2008-09-09
> >> 14:12:49.000" createdStamp="2008-09-09 14:12:49.000"
> >> > createdTxStamp="2008-09-09 14:12:49.000"/>
> >> > </entity-engine-xml>
> >> >
> >> >
> >> > I had the same error :
> >> >
> >> >     The Following Errors Occurred:
> >> >         ERROR: Error parsing entity xml file:
> >> java.io.CharConversionException: Invalid UTF-8 Encoding
> >> > Amine
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > > Date: Wed, 10 Sep 2008 10:25:37 +0200
> >> > > From: svenne.duva@gmail.com
> >> > > To: user@ofbiz.apache.org; jacques.le.roux@les7arts.com
> >> > > Subject: Re: Import Text : "ERROR: Error parsing entity xml file:
> >> java.io.CharConversionException: Invalid UTF-8 Encoding"
> >> > >
> >> > > 2008/9/9 Jacques Le Roux <ja...@les7arts.com>
> >> > >
> >> > > > From: "Sven Wesley" <sv...@gmail.com>
> >> > > >
> >> > > >> I believe that the file way was the working way, wasn't it?
> >> > > >> Are you sure that the String encoding is set to UTF-8 on the text
> >> sent to
> >> > > >> the service?
> >> > > >>
> >> > > >> Regards,
> >> > > >> Sven
> >> > > >>
> >> > > >
> >> > > > Yes, that's what is also suggesting the 1st link from the link below
> >> > > >
> >> > > > Jacques
> >> > > >
> >> > > >
> >> > > I may be blind but I only see suggestions on changing encoding on
> >> files, not
> >> > > on String objects.
> >> > >
> >> > > Regards,
> >> > > Sven
> >> >
> >> > _________________________________________________________________
> >> > Installez gratuitement les 20 émôticones Windows Live Messenger les plus
> >> fous ! Cliquez ici !
> >> > http://www.emoticones-messenger.fr/
> >> >
> >>
> >> _________________________________________________________________
> >> Installez gratuitement les 20 émôticones Windows Live Messenger les plus
> >> fous ! Cliquez ici !
> >> http://www.emoticones-messenger.fr/
> >>
> >

_________________________________________________________________
Installez gratuitement les 20 émôticones Windows Live Messenger les plus fous ! Cliquez ici !
http://www.emoticones-messenger.fr/

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

Posted by Bruno Busco <br...@gmail.com>.
Forgot to mention I use Windows...

2008/9/13 Bruno Busco <br...@gmail.com>

> Scott,
> I switched my FF2 browser to UTF-8 (it was not) but I get still the error.
> In any case the import from file is of course not depented on this...
> -Bruno
>
> 2008/9/13 Scott Gray <le...@gmail.com>
>
> Have you checked the encoding on the browser you are using?  I took a
>> straight copy/paste out of this thread and the product loaded fine.
>>
>> Regards
>> Scott
>>
>> 2008/9/13 Bruno Busco <br...@gmail.com>:
>> > Amine,
>> > I am having the same your problem while importing some content data and
>> I
>> > found that even with the ISO-8859-2 the problem is still there (sorry
>> for
>> > the false solution I gave you).
>> > Looking in the mail archive I found this subject recurring many times
>> but
>> > was never solved.
>> > I think we need a JIRA issue (may be there is already one).
>> > -Bruno
>> >
>> > 2008/9/10 Amine Benkirane <be...@hotmail.com>
>> >
>> >>
>> >> Yes I try this into the OFBiz XML import :
>> >>
>> >> <?xml version="1.0" encoding="ISO-8859-2"?>
>> >> <entity-engine-xml>
>> >>  <Product productId="000000000000103816PL"
>> productTypeId="FINISHED_GOOD"
>> >> internalName="Twix - zestaw 6 batonów lodowych 261g" productName="Twix
>> -
>> >> zestaw 6 batonów lodowych 261g" isVirtual="N" isVariant="N"
>> >> requireInventory="N" rawWeightUE="3.954" netWeightUE="3.132"
>> >> uomWeightUE="KGM" eanCodeUE="4011100053397" productDepth="0.21"
>> >> depthUCUomId="MTR" productWidth="0.13" widthUCUomId="MTR"
>> >> productHeight="0.034" heightUCUomId="MTR" brandName="TWIX" PCB="12"
>> >> shippingDepth="0.274" shippingDepthUomId="MTR" shippingWidth="0.214"
>> >> shippingWidthUomId="MTR" shippingHeight="0.225"
>> shippingHeightUomId="MTR"
>> >> weight="265.8" weightUCUomId="GRM" eanCodeUC="4011100053380"
>> >> marsCountryNumber="218" enabled="N" createdByUserLogin="admin"
>> >> createdDate="2008-09-10 11:12:27.000" lastModifiedByUserLogin="admin"
>> >> lastModifiedDate="2008-09-10 11:12:27.000" lastUpdatedStamp="2008-09-10
>> >> 11:12:27.000" lastUpdatedTxStamp="2008-09-10 11:12:27.000"
>> >> createdStamp="2008-09-10 11:12:27.000" createdTxStamp="2008-09-10
>> >> 11:12:27.000" />
>> >> </entity-engine-xml>
>> >>
>> >>
>> >> But I had the same error...
>> >>
>> >> Amine
>> >>
>> >>
>> >> > From: jacques.le.roux@les7arts.com
>> >> > To: user@ofbiz.apache.org
>> >> > Subject: Re: Import Text : "ERROR: Error parsing entity xml file:
>> >> java.io.CharConversionException: Invalid UTF-8 Encoding"
>> >> > Date: Wed, 10 Sep 2008 12:00:41 +0200
>> >> >
>> >> > Did you try Bruno's tip ?
>> >> >
>> >> > JAcques
>> >> >
>> >> > From: "Amine Benkirane" <be...@hotmail.com>
>> >> > >From OFbiz import page, when I try to import this Text directly :
>> >> > <?xml version="1.0" encoding="UTF-8" ?>
>> >> > <entity-engine-xml>
>> >> > <Product productId="000000000000194327PL"
>> productTypeId="FINISHED_GOOD"
>> >> internalName="Chappi z wołowinš i drobiem 3kg prom"
>> >> > productName="Chappi z wołowinš i drobiem 3kg prom" isVirtual="N"
>> >> isVariant="N" requireInventory="N" createdByUserLogin="admin"
>> >> > createdDate="2008-09-09 14:12:49.000" lastModifiedByUserLogin="admin"
>> >> lastModifiedDate="2008-09-09 14:12:49.000"
>> >> > lastUpdatedStamp="2008-09-09 14:12:49.000"
>> lastUpdatedTxStamp="2008-09-09
>> >> 14:12:49.000" createdStamp="2008-09-09 14:12:49.000"
>> >> > createdTxStamp="2008-09-09 14:12:49.000"/>
>> >> > </entity-engine-xml>
>> >> >
>> >> >
>> >> > I had the same error :
>> >> >
>> >> >     The Following Errors Occurred:
>> >> >         ERROR: Error parsing entity xml file:
>> >> java.io.CharConversionException: Invalid UTF-8 Encoding
>> >> > Amine
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > > Date: Wed, 10 Sep 2008 10:25:37 +0200
>> >> > > From: svenne.duva@gmail.com
>> >> > > To: user@ofbiz.apache.org; jacques.le.roux@les7arts.com
>> >> > > Subject: Re: Import Text : "ERROR: Error parsing entity xml file:
>> >> java.io.CharConversionException: Invalid UTF-8 Encoding"
>> >> > >
>> >> > > 2008/9/9 Jacques Le Roux <ja...@les7arts.com>
>> >> > >
>> >> > > > From: "Sven Wesley" <sv...@gmail.com>
>> >> > > >
>> >> > > >> I believe that the file way was the working way, wasn't it?
>> >> > > >> Are you sure that the String encoding is set to UTF-8 on the
>> text
>> >> sent to
>> >> > > >> the service?
>> >> > > >>
>> >> > > >> Regards,
>> >> > > >> Sven
>> >> > > >>
>> >> > > >
>> >> > > > Yes, that's what is also suggesting the 1st link from the link
>> below
>> >> > > >
>> >> > > > Jacques
>> >> > > >
>> >> > > >
>> >> > > I may be blind but I only see suggestions on changing encoding on
>> >> files, not
>> >> > > on String objects.
>> >> > >
>> >> > > Regards,
>> >> > > Sven
>> >> >
>> >> > _________________________________________________________________
>> >> > Installez gratuitement les 20 émôticones Windows Live Messenger les
>> plus
>> >> fous ! Cliquez ici !
>> >> > http://www.emoticones-messenger.fr/
>> >> >
>> >>
>> >> _________________________________________________________________
>> >> Installez gratuitement les 20 émôticones Windows Live Messenger les
>> plus
>> >> fous ! Cliquez ici !
>> >> http://www.emoticones-messenger.fr/
>> >>
>> >
>>
>
>

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

Posted by Bruno Busco <br...@gmail.com>.
Scott,
I switched my FF2 browser to UTF-8 (it was not) but I get still the error.
In any case the import from file is of course not depented on this...
-Bruno

2008/9/13 Scott Gray <le...@gmail.com>

> Have you checked the encoding on the browser you are using?  I took a
> straight copy/paste out of this thread and the product loaded fine.
>
> Regards
> Scott
>
> 2008/9/13 Bruno Busco <br...@gmail.com>:
> > Amine,
> > I am having the same your problem while importing some content data and I
> > found that even with the ISO-8859-2 the problem is still there (sorry for
> > the false solution I gave you).
> > Looking in the mail archive I found this subject recurring many times but
> > was never solved.
> > I think we need a JIRA issue (may be there is already one).
> > -Bruno
> >
> > 2008/9/10 Amine Benkirane <be...@hotmail.com>
> >
> >>
> >> Yes I try this into the OFBiz XML import :
> >>
> >> <?xml version="1.0" encoding="ISO-8859-2"?>
> >> <entity-engine-xml>
> >>  <Product productId="000000000000103816PL" productTypeId="FINISHED_GOOD"
> >> internalName="Twix - zestaw 6 batonów lodowych 261g" productName="Twix -
> >> zestaw 6 batonów lodowych 261g" isVirtual="N" isVariant="N"
> >> requireInventory="N" rawWeightUE="3.954" netWeightUE="3.132"
> >> uomWeightUE="KGM" eanCodeUE="4011100053397" productDepth="0.21"
> >> depthUCUomId="MTR" productWidth="0.13" widthUCUomId="MTR"
> >> productHeight="0.034" heightUCUomId="MTR" brandName="TWIX" PCB="12"
> >> shippingDepth="0.274" shippingDepthUomId="MTR" shippingWidth="0.214"
> >> shippingWidthUomId="MTR" shippingHeight="0.225"
> shippingHeightUomId="MTR"
> >> weight="265.8" weightUCUomId="GRM" eanCodeUC="4011100053380"
> >> marsCountryNumber="218" enabled="N" createdByUserLogin="admin"
> >> createdDate="2008-09-10 11:12:27.000" lastModifiedByUserLogin="admin"
> >> lastModifiedDate="2008-09-10 11:12:27.000" lastUpdatedStamp="2008-09-10
> >> 11:12:27.000" lastUpdatedTxStamp="2008-09-10 11:12:27.000"
> >> createdStamp="2008-09-10 11:12:27.000" createdTxStamp="2008-09-10
> >> 11:12:27.000" />
> >> </entity-engine-xml>
> >>
> >>
> >> But I had the same error...
> >>
> >> Amine
> >>
> >>
> >> > From: jacques.le.roux@les7arts.com
> >> > To: user@ofbiz.apache.org
> >> > Subject: Re: Import Text : "ERROR: Error parsing entity xml file:
> >> java.io.CharConversionException: Invalid UTF-8 Encoding"
> >> > Date: Wed, 10 Sep 2008 12:00:41 +0200
> >> >
> >> > Did you try Bruno's tip ?
> >> >
> >> > JAcques
> >> >
> >> > From: "Amine Benkirane" <be...@hotmail.com>
> >> > >From OFbiz import page, when I try to import this Text directly :
> >> > <?xml version="1.0" encoding="UTF-8" ?>
> >> > <entity-engine-xml>
> >> > <Product productId="000000000000194327PL"
> productTypeId="FINISHED_GOOD"
> >> internalName="Chappi z wołowinš i drobiem 3kg prom"
> >> > productName="Chappi z wołowinš i drobiem 3kg prom" isVirtual="N"
> >> isVariant="N" requireInventory="N" createdByUserLogin="admin"
> >> > createdDate="2008-09-09 14:12:49.000" lastModifiedByUserLogin="admin"
> >> lastModifiedDate="2008-09-09 14:12:49.000"
> >> > lastUpdatedStamp="2008-09-09 14:12:49.000"
> lastUpdatedTxStamp="2008-09-09
> >> 14:12:49.000" createdStamp="2008-09-09 14:12:49.000"
> >> > createdTxStamp="2008-09-09 14:12:49.000"/>
> >> > </entity-engine-xml>
> >> >
> >> >
> >> > I had the same error :
> >> >
> >> >     The Following Errors Occurred:
> >> >         ERROR: Error parsing entity xml file:
> >> java.io.CharConversionException: Invalid UTF-8 Encoding
> >> > Amine
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > > Date: Wed, 10 Sep 2008 10:25:37 +0200
> >> > > From: svenne.duva@gmail.com
> >> > > To: user@ofbiz.apache.org; jacques.le.roux@les7arts.com
> >> > > Subject: Re: Import Text : "ERROR: Error parsing entity xml file:
> >> java.io.CharConversionException: Invalid UTF-8 Encoding"
> >> > >
> >> > > 2008/9/9 Jacques Le Roux <ja...@les7arts.com>
> >> > >
> >> > > > From: "Sven Wesley" <sv...@gmail.com>
> >> > > >
> >> > > >> I believe that the file way was the working way, wasn't it?
> >> > > >> Are you sure that the String encoding is set to UTF-8 on the text
> >> sent to
> >> > > >> the service?
> >> > > >>
> >> > > >> Regards,
> >> > > >> Sven
> >> > > >>
> >> > > >
> >> > > > Yes, that's what is also suggesting the 1st link from the link
> below
> >> > > >
> >> > > > Jacques
> >> > > >
> >> > > >
> >> > > I may be blind but I only see suggestions on changing encoding on
> >> files, not
> >> > > on String objects.
> >> > >
> >> > > Regards,
> >> > > Sven
> >> >
> >> > _________________________________________________________________
> >> > Installez gratuitement les 20 émôticones Windows Live Messenger les
> plus
> >> fous ! Cliquez ici !
> >> > http://www.emoticones-messenger.fr/
> >> >
> >>
> >> _________________________________________________________________
> >> Installez gratuitement les 20 émôticones Windows Live Messenger les plus
> >> fous ! Cliquez ici !
> >> http://www.emoticones-messenger.fr/
> >>
> >
>

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

Posted by Scott Gray <le...@gmail.com>.
Have you checked the encoding on the browser you are using?  I took a
straight copy/paste out of this thread and the product loaded fine.

Regards
Scott

2008/9/13 Bruno Busco <br...@gmail.com>:
> Amine,
> I am having the same your problem while importing some content data and I
> found that even with the ISO-8859-2 the problem is still there (sorry for
> the false solution I gave you).
> Looking in the mail archive I found this subject recurring many times but
> was never solved.
> I think we need a JIRA issue (may be there is already one).
> -Bruno
>
> 2008/9/10 Amine Benkirane <be...@hotmail.com>
>
>>
>> Yes I try this into the OFBiz XML import :
>>
>> <?xml version="1.0" encoding="ISO-8859-2"?>
>> <entity-engine-xml>
>>  <Product productId="000000000000103816PL" productTypeId="FINISHED_GOOD"
>> internalName="Twix - zestaw 6 batonów lodowych 261g" productName="Twix -
>> zestaw 6 batonów lodowych 261g" isVirtual="N" isVariant="N"
>> requireInventory="N" rawWeightUE="3.954" netWeightUE="3.132"
>> uomWeightUE="KGM" eanCodeUE="4011100053397" productDepth="0.21"
>> depthUCUomId="MTR" productWidth="0.13" widthUCUomId="MTR"
>> productHeight="0.034" heightUCUomId="MTR" brandName="TWIX" PCB="12"
>> shippingDepth="0.274" shippingDepthUomId="MTR" shippingWidth="0.214"
>> shippingWidthUomId="MTR" shippingHeight="0.225" shippingHeightUomId="MTR"
>> weight="265.8" weightUCUomId="GRM" eanCodeUC="4011100053380"
>> marsCountryNumber="218" enabled="N" createdByUserLogin="admin"
>> createdDate="2008-09-10 11:12:27.000" lastModifiedByUserLogin="admin"
>> lastModifiedDate="2008-09-10 11:12:27.000" lastUpdatedStamp="2008-09-10
>> 11:12:27.000" lastUpdatedTxStamp="2008-09-10 11:12:27.000"
>> createdStamp="2008-09-10 11:12:27.000" createdTxStamp="2008-09-10
>> 11:12:27.000" />
>> </entity-engine-xml>
>>
>>
>> But I had the same error...
>>
>> Amine
>>
>>
>> > From: jacques.le.roux@les7arts.com
>> > To: user@ofbiz.apache.org
>> > Subject: Re: Import Text : "ERROR: Error parsing entity xml file:
>> java.io.CharConversionException: Invalid UTF-8 Encoding"
>> > Date: Wed, 10 Sep 2008 12:00:41 +0200
>> >
>> > Did you try Bruno's tip ?
>> >
>> > JAcques
>> >
>> > From: "Amine Benkirane" <be...@hotmail.com>
>> > >From OFbiz import page, when I try to import this Text directly :
>> > <?xml version="1.0" encoding="UTF-8" ?>
>> > <entity-engine-xml>
>> > <Product productId="000000000000194327PL" productTypeId="FINISHED_GOOD"
>> internalName="Chappi z wołowinš i drobiem 3kg prom"
>> > productName="Chappi z wołowinš i drobiem 3kg prom" isVirtual="N"
>> isVariant="N" requireInventory="N" createdByUserLogin="admin"
>> > createdDate="2008-09-09 14:12:49.000" lastModifiedByUserLogin="admin"
>> lastModifiedDate="2008-09-09 14:12:49.000"
>> > lastUpdatedStamp="2008-09-09 14:12:49.000" lastUpdatedTxStamp="2008-09-09
>> 14:12:49.000" createdStamp="2008-09-09 14:12:49.000"
>> > createdTxStamp="2008-09-09 14:12:49.000"/>
>> > </entity-engine-xml>
>> >
>> >
>> > I had the same error :
>> >
>> >     The Following Errors Occurred:
>> >         ERROR: Error parsing entity xml file:
>> java.io.CharConversionException: Invalid UTF-8 Encoding
>> > Amine
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > > Date: Wed, 10 Sep 2008 10:25:37 +0200
>> > > From: svenne.duva@gmail.com
>> > > To: user@ofbiz.apache.org; jacques.le.roux@les7arts.com
>> > > Subject: Re: Import Text : "ERROR: Error parsing entity xml file:
>> java.io.CharConversionException: Invalid UTF-8 Encoding"
>> > >
>> > > 2008/9/9 Jacques Le Roux <ja...@les7arts.com>
>> > >
>> > > > From: "Sven Wesley" <sv...@gmail.com>
>> > > >
>> > > >> I believe that the file way was the working way, wasn't it?
>> > > >> Are you sure that the String encoding is set to UTF-8 on the text
>> sent to
>> > > >> the service?
>> > > >>
>> > > >> Regards,
>> > > >> Sven
>> > > >>
>> > > >
>> > > > Yes, that's what is also suggesting the 1st link from the link below
>> > > >
>> > > > Jacques
>> > > >
>> > > >
>> > > I may be blind but I only see suggestions on changing encoding on
>> files, not
>> > > on String objects.
>> > >
>> > > Regards,
>> > > Sven
>> >
>> > _________________________________________________________________
>> > Installez gratuitement les 20 émôticones Windows Live Messenger les plus
>> fous ! Cliquez ici !
>> > http://www.emoticones-messenger.fr/
>> >
>>
>> _________________________________________________________________
>> Installez gratuitement les 20 émôticones Windows Live Messenger les plus
>> fous ! Cliquez ici !
>> http://www.emoticones-messenger.fr/
>>
>

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

Posted by Bruno Busco <br...@gmail.com>.
Amine,
I am having the same your problem while importing some content data and I
found that even with the ISO-8859-2 the problem is still there (sorry for
the false solution I gave you).
Looking in the mail archive I found this subject recurring many times but
was never solved.
I think we need a JIRA issue (may be there is already one).
-Bruno

2008/9/10 Amine Benkirane <be...@hotmail.com>

>
> Yes I try this into the OFBiz XML import :
>
> <?xml version="1.0" encoding="ISO-8859-2"?>
> <entity-engine-xml>
>  <Product productId="000000000000103816PL" productTypeId="FINISHED_GOOD"
> internalName="Twix - zestaw 6 batonów lodowych 261g" productName="Twix -
> zestaw 6 batonów lodowych 261g" isVirtual="N" isVariant="N"
> requireInventory="N" rawWeightUE="3.954" netWeightUE="3.132"
> uomWeightUE="KGM" eanCodeUE="4011100053397" productDepth="0.21"
> depthUCUomId="MTR" productWidth="0.13" widthUCUomId="MTR"
> productHeight="0.034" heightUCUomId="MTR" brandName="TWIX" PCB="12"
> shippingDepth="0.274" shippingDepthUomId="MTR" shippingWidth="0.214"
> shippingWidthUomId="MTR" shippingHeight="0.225" shippingHeightUomId="MTR"
> weight="265.8" weightUCUomId="GRM" eanCodeUC="4011100053380"
> marsCountryNumber="218" enabled="N" createdByUserLogin="admin"
> createdDate="2008-09-10 11:12:27.000" lastModifiedByUserLogin="admin"
> lastModifiedDate="2008-09-10 11:12:27.000" lastUpdatedStamp="2008-09-10
> 11:12:27.000" lastUpdatedTxStamp="2008-09-10 11:12:27.000"
> createdStamp="2008-09-10 11:12:27.000" createdTxStamp="2008-09-10
> 11:12:27.000" />
> </entity-engine-xml>
>
>
> But I had the same error...
>
> Amine
>
>
> > From: jacques.le.roux@les7arts.com
> > To: user@ofbiz.apache.org
> > Subject: Re: Import Text : "ERROR: Error parsing entity xml file:
> java.io.CharConversionException: Invalid UTF-8 Encoding"
> > Date: Wed, 10 Sep 2008 12:00:41 +0200
> >
> > Did you try Bruno's tip ?
> >
> > JAcques
> >
> > From: "Amine Benkirane" <be...@hotmail.com>
> > >From OFbiz import page, when I try to import this Text directly :
> > <?xml version="1.0" encoding="UTF-8" ?>
> > <entity-engine-xml>
> > <Product productId="000000000000194327PL" productTypeId="FINISHED_GOOD"
> internalName="Chappi z wołowinš i drobiem 3kg prom"
> > productName="Chappi z wołowinš i drobiem 3kg prom" isVirtual="N"
> isVariant="N" requireInventory="N" createdByUserLogin="admin"
> > createdDate="2008-09-09 14:12:49.000" lastModifiedByUserLogin="admin"
> lastModifiedDate="2008-09-09 14:12:49.000"
> > lastUpdatedStamp="2008-09-09 14:12:49.000" lastUpdatedTxStamp="2008-09-09
> 14:12:49.000" createdStamp="2008-09-09 14:12:49.000"
> > createdTxStamp="2008-09-09 14:12:49.000"/>
> > </entity-engine-xml>
> >
> >
> > I had the same error :
> >
> >     The Following Errors Occurred:
> >         ERROR: Error parsing entity xml file:
> java.io.CharConversionException: Invalid UTF-8 Encoding
> > Amine
> >
> >
> >
> >
> >
> >
> >
> >
> > > Date: Wed, 10 Sep 2008 10:25:37 +0200
> > > From: svenne.duva@gmail.com
> > > To: user@ofbiz.apache.org; jacques.le.roux@les7arts.com
> > > Subject: Re: Import Text : "ERROR: Error parsing entity xml file:
> java.io.CharConversionException: Invalid UTF-8 Encoding"
> > >
> > > 2008/9/9 Jacques Le Roux <ja...@les7arts.com>
> > >
> > > > From: "Sven Wesley" <sv...@gmail.com>
> > > >
> > > >> I believe that the file way was the working way, wasn't it?
> > > >> Are you sure that the String encoding is set to UTF-8 on the text
> sent to
> > > >> the service?
> > > >>
> > > >> Regards,
> > > >> Sven
> > > >>
> > > >
> > > > Yes, that's what is also suggesting the 1st link from the link below
> > > >
> > > > Jacques
> > > >
> > > >
> > > I may be blind but I only see suggestions on changing encoding on
> files, not
> > > on String objects.
> > >
> > > Regards,
> > > Sven
> >
> > _________________________________________________________________
> > Installez gratuitement les 20 émôticones Windows Live Messenger les plus
> fous ! Cliquez ici !
> > http://www.emoticones-messenger.fr/
> >
>
> _________________________________________________________________
> Installez gratuitement les 20 émôticones Windows Live Messenger les plus
> fous ! Cliquez ici !
> http://www.emoticones-messenger.fr/
>

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

Posted by Amine Benkirane <be...@hotmail.com>.
Yes I try this into the OFBiz XML import :

<?xml version="1.0" encoding="ISO-8859-2"?>
<entity-engine-xml>
 <Product productId="000000000000103816PL" productTypeId="FINISHED_GOOD" internalName="Twix - zestaw 6 batonów lodowych 261g" productName="Twix - zestaw 6 batonów lodowych 261g" isVirtual="N" isVariant="N" requireInventory="N" rawWeightUE="3.954" netWeightUE="3.132" uomWeightUE="KGM" eanCodeUE="4011100053397" productDepth="0.21" depthUCUomId="MTR" productWidth="0.13" widthUCUomId="MTR" productHeight="0.034" heightUCUomId="MTR" brandName="TWIX" PCB="12" shippingDepth="0.274" shippingDepthUomId="MTR" shippingWidth="0.214" shippingWidthUomId="MTR" shippingHeight="0.225" shippingHeightUomId="MTR" weight="265.8" weightUCUomId="GRM" eanCodeUC="4011100053380" marsCountryNumber="218" enabled="N" createdByUserLogin="admin" createdDate="2008-09-10 11:12:27.000" lastModifiedByUserLogin="admin" lastModifiedDate="2008-09-10 11:12:27.000" lastUpdatedStamp="2008-09-10 11:12:27.000" lastUpdatedTxStamp="2008-09-10 11:12:27.000" createdStamp="2008-09-10 11:12:27.000" createdTxStamp="2008-09-10 11:12:27.000" /> 
</entity-engine-xml>


But I had the same error... 

Amine


> From: jacques.le.roux@les7arts.com
> To: user@ofbiz.apache.org
> Subject: Re: Import Text : "ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding"
> Date: Wed, 10 Sep 2008 12:00:41 +0200
> 
> Did you try Bruno's tip ?
> 
> JAcques
> 
> From: "Amine Benkirane" <be...@hotmail.com>
> >From OFbiz import page, when I try to import this Text directly :
> <?xml version="1.0" encoding="UTF-8" ?>
> <entity-engine-xml>
> <Product productId="000000000000194327PL" productTypeId="FINISHED_GOOD" internalName="Chappi z wołowinš i drobiem 3kg prom" 
> productName="Chappi z wołowinš i drobiem 3kg prom" isVirtual="N" isVariant="N" requireInventory="N" createdByUserLogin="admin" 
> createdDate="2008-09-09 14:12:49.000" lastModifiedByUserLogin="admin" lastModifiedDate="2008-09-09 14:12:49.000" 
> lastUpdatedStamp="2008-09-09 14:12:49.000" lastUpdatedTxStamp="2008-09-09 14:12:49.000" createdStamp="2008-09-09 14:12:49.000" 
> createdTxStamp="2008-09-09 14:12:49.000"/>
> </entity-engine-xml>
> 
> 
> I had the same error :
> 
>     The Following Errors Occurred:
>         ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding
> Amine
> 
> 
> 
> 
> 
> 
> 
> 
> > Date: Wed, 10 Sep 2008 10:25:37 +0200
> > From: svenne.duva@gmail.com
> > To: user@ofbiz.apache.org; jacques.le.roux@les7arts.com
> > Subject: Re: Import Text : "ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding"
> >
> > 2008/9/9 Jacques Le Roux <ja...@les7arts.com>
> >
> > > From: "Sven Wesley" <sv...@gmail.com>
> > >
> > >> I believe that the file way was the working way, wasn't it?
> > >> Are you sure that the String encoding is set to UTF-8 on the text sent to
> > >> the service?
> > >>
> > >> Regards,
> > >> Sven
> > >>
> > >
> > > Yes, that's what is also suggesting the 1st link from the link below
> > >
> > > Jacques
> > >
> > >
> > I may be blind but I only see suggestions on changing encoding on files, not
> > on String objects.
> >
> > Regards,
> > Sven
> 
> _________________________________________________________________
> Installez gratuitement les 20 émôticones Windows Live Messenger les plus fous ! Cliquez ici !
> http://www.emoticones-messenger.fr/ 
> 

_________________________________________________________________
Installez gratuitement les 20 émôticones Windows Live Messenger les plus fous ! Cliquez ici !
http://www.emoticones-messenger.fr/

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

Posted by Jacques Le Roux <ja...@les7arts.com>.
Did you try Bruno's tip ?

JAcques

From: "Amine Benkirane" <be...@hotmail.com>
>>From OFbiz import page, when I try to import this Text directly :
<?xml version="1.0" encoding="UTF-8" ?>
<entity-engine-xml>
<Product productId="000000000000194327PL" productTypeId="FINISHED_GOOD" internalName="Chappi z wołowinš i drobiem 3kg prom" 
productName="Chappi z wołowinš i drobiem 3kg prom" isVirtual="N" isVariant="N" requireInventory="N" createdByUserLogin="admin" 
createdDate="2008-09-09 14:12:49.000" lastModifiedByUserLogin="admin" lastModifiedDate="2008-09-09 14:12:49.000" 
lastUpdatedStamp="2008-09-09 14:12:49.000" lastUpdatedTxStamp="2008-09-09 14:12:49.000" createdStamp="2008-09-09 14:12:49.000" 
createdTxStamp="2008-09-09 14:12:49.000"/>
</entity-engine-xml>


I had the same error :

    The Following Errors Occurred:
        ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding
Amine








> Date: Wed, 10 Sep 2008 10:25:37 +0200
> From: svenne.duva@gmail.com
> To: user@ofbiz.apache.org; jacques.le.roux@les7arts.com
> Subject: Re: Import Text : "ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding"
>
> 2008/9/9 Jacques Le Roux <ja...@les7arts.com>
>
> > From: "Sven Wesley" <sv...@gmail.com>
> >
> >> I believe that the file way was the working way, wasn't it?
> >> Are you sure that the String encoding is set to UTF-8 on the text sent to
> >> the service?
> >>
> >> Regards,
> >> Sven
> >>
> >
> > Yes, that's what is also suggesting the 1st link from the link below
> >
> > Jacques
> >
> >
> I may be blind but I only see suggestions on changing encoding on files, not
> on String objects.
>
> Regards,
> Sven

_________________________________________________________________
Installez gratuitement les 20 émôticones Windows Live Messenger les plus fous ! Cliquez ici !
http://www.emoticones-messenger.fr/ 


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

Posted by Amine Benkirane <be...@hotmail.com>.
>From OFbiz import page, when I try to import this Text directly : 
<?xml version="1.0" encoding="UTF-8" ?> 
<entity-engine-xml>
<Product productId="000000000000194327PL" productTypeId="FINISHED_GOOD" internalName="Chappi z wołowinš i drobiem 3kg prom" productName="Chappi z wołowinš i drobiem 3kg prom" isVirtual="N" isVariant="N" requireInventory="N" createdByUserLogin="admin" createdDate="2008-09-09 14:12:49.000" lastModifiedByUserLogin="admin" lastModifiedDate="2008-09-09 14:12:49.000" lastUpdatedStamp="2008-09-09 14:12:49.000" lastUpdatedTxStamp="2008-09-09 14:12:49.000" createdStamp="2008-09-09 14:12:49.000" createdTxStamp="2008-09-09 14:12:49.000"/>
</entity-engine-xml>


I had the same error : 

    The Following Errors Occurred:
        ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding
Amine




  



> Date: Wed, 10 Sep 2008 10:25:37 +0200
> From: svenne.duva@gmail.com
> To: user@ofbiz.apache.org; jacques.le.roux@les7arts.com
> Subject: Re: Import Text : "ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding"
> 
> 2008/9/9 Jacques Le Roux <ja...@les7arts.com>
> 
> > From: "Sven Wesley" <sv...@gmail.com>
> >
> >> I believe that the file way was the working way, wasn't it?
> >> Are you sure that the String encoding is set to UTF-8 on the text sent to
> >> the service?
> >>
> >> Regards,
> >> Sven
> >>
> >
> > Yes, that's what is also suggesting the 1st link from the link below
> >
> > Jacques
> >
> >
> I may be blind but I only see suggestions on changing encoding on files, not
> on String objects.
> 
> Regards,
> Sven

_________________________________________________________________
Installez gratuitement les 20 émôticones Windows Live Messenger les plus fous ! Cliquez ici !
http://www.emoticones-messenger.fr/

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

Posted by Jacques Le Roux <ja...@les7arts.com>.
----- Original Message ----- 
From: "Sven Wesley" <sv...@gmail.com>
To: <us...@ofbiz.apache.org>; "Jacques Le Roux" <ja...@les7arts.com>
Sent: Wednesday, September 10, 2008 10:25 AM
Subject: Re: Import Text : "ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding"


> 2008/9/9 Jacques Le Roux <ja...@les7arts.com>
> 
>> From: "Sven Wesley" <sv...@gmail.com>
>>
>>> I believe that the file way was the working way, wasn't it?
>>> Are you sure that the String encoding is set to UTF-8 on the text sent to
>>> the service?
>>>
>>> Regards,
>>> Sven
>>>
>>
>> Yes, that's what is also suggesting the 1st link from the link below
>>
>> Jacques
>>
>>
> I may be blind but I only see suggestions on changing encoding on files, not
> on String objects.

Right !

Jacques
 
> Regards,
> Sven
>

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

Posted by Sven Wesley <sv...@gmail.com>.
2008/9/9 Jacques Le Roux <ja...@les7arts.com>

> From: "Sven Wesley" <sv...@gmail.com>
>
>> I believe that the file way was the working way, wasn't it?
>> Are you sure that the String encoding is set to UTF-8 on the text sent to
>> the service?
>>
>> Regards,
>> Sven
>>
>
> Yes, that's what is also suggesting the 1st link from the link below
>
> Jacques
>
>
I may be blind but I only see suggestions on changing encoding on files, not
on String objects.

Regards,
Sven

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

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Sven Wesley" <sv...@gmail.com>
>I believe that the file way was the working way, wasn't it?
> Are you sure that the String encoding is set to UTF-8 on the text sent to
> the service?
>
> Regards,
> Sven

Yes, that's what is also suggesting the 1st link from the link below

Jacques

> 2008/9/9 Jacques Le Roux <ja...@les7arts.com>
>
>> Maybe
>> http://www.nabble.com/forum/Search.jtp?local=y&forum=2740&query=CharConversionException+Invalid+UTF-8+Encoding
>>
>> Jacques
>>
>> From: "Amine Benkirane" <be...@hotmail.com>
>>
>>  Hi,
>>
>> When I try to import a Text containing polish character like this :
>>
>> <entity-engine-xml>
>> <Product productId="000000000000194327PL" productTypeId="FINISHED_GOOD"
>> internalName="Chappi z wołowinš i drobiem 3kg prom" productName="Chappi z
>> wołowinš i drobiem 3kg prom" isVirtual="N" isVariant="N"
>> requireInventory="N" createdByUserLogin="admin" createdDate="2008-09-09
>> 14:12:49.000" lastModifiedByUserLogin="admin" lastModifiedDate="2008-09-09
>> 14:12:49.000" lastUpdatedStamp="2008-09-09 14:12:49.000"
>> lastUpdatedTxStamp="2008-09-09 14:12:49.000" createdStamp="2008-09-09
>> 14:12:49.000" createdTxStamp="2008-09-09 14:12:49.000"/>
>> </entity-engine-xml>
>>
>>
>> I had this error : ERROR: Error parsing entity xml file:
>> java.io.CharConversionException: Invalid UTF-8 Encoding.
>>
>> However, when I import this product by using a file, it works. For my
>> specific needs, I use the "entityImport" service from one of my java class
>> using fulltext as parameter. I don't want to create files on the application
>> server. So is there a solution or is this issue known to use the fulltext
>> parameter and polish character to import products ?
>>
>> Thanks !
>>
>> Best regards,
>>
>> Amine
>>
>>
>>
>> _________________________________________________________________
>> Installez gratuitement les 20 émôticones Windows Live Messenger les plus
>> fous ! Cliquez ici !
>> http://www.emoticones-messenger.fr/
>>
> 


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

Posted by Sven Wesley <sv...@gmail.com>.
I believe that the file way was the working way, wasn't it?
Are you sure that the String encoding is set to UTF-8 on the text sent to
the service?

Regards,
Sven

2008/9/9 Jacques Le Roux <ja...@les7arts.com>

> Maybe
> http://www.nabble.com/forum/Search.jtp?local=y&forum=2740&query=CharConversionException+Invalid+UTF-8+Encoding
>
> Jacques
>
> From: "Amine Benkirane" <be...@hotmail.com>
>
>  Hi,
>
> When I try to import a Text containing polish character like this :
>
> <entity-engine-xml>
> <Product productId="000000000000194327PL" productTypeId="FINISHED_GOOD"
> internalName="Chappi z wołowinš i drobiem 3kg prom" productName="Chappi z
> wołowinš i drobiem 3kg prom" isVirtual="N" isVariant="N"
> requireInventory="N" createdByUserLogin="admin" createdDate="2008-09-09
> 14:12:49.000" lastModifiedByUserLogin="admin" lastModifiedDate="2008-09-09
> 14:12:49.000" lastUpdatedStamp="2008-09-09 14:12:49.000"
> lastUpdatedTxStamp="2008-09-09 14:12:49.000" createdStamp="2008-09-09
> 14:12:49.000" createdTxStamp="2008-09-09 14:12:49.000"/>
> </entity-engine-xml>
>
>
> I had this error : ERROR: Error parsing entity xml file:
> java.io.CharConversionException: Invalid UTF-8 Encoding.
>
> However, when I import this product by using a file, it works. For my
> specific needs, I use the "entityImport" service from one of my java class
> using fulltext as parameter. I don't want to create files on the application
> server. So is there a solution or is this issue known to use the fulltext
> parameter and polish character to import products ?
>
> Thanks !
>
> Best regards,
>
> Amine
>
>
>
> _________________________________________________________________
> Installez gratuitement les 20 émôticones Windows Live Messenger les plus
> fous ! Cliquez ici !
> http://www.emoticones-messenger.fr/
>

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

Posted by Jacques Le Roux <ja...@les7arts.com>.
Maybe http://www.nabble.com/forum/Search.jtp?local=y&forum=2740&query=CharConversionException+Invalid+UTF-8+Encoding

Jacques

From: "Amine Benkirane" <be...@hotmail.com>
   Hi,

When I try to import a Text containing polish character like this :

<entity-engine-xml>
<Product productId="000000000000194327PL" productTypeId="FINISHED_GOOD" internalName="Chappi z wołowinš i drobiem 3kg prom" 
productName="Chappi z wołowinš i drobiem 3kg prom" isVirtual="N" isVariant="N" requireInventory="N" createdByUserLogin="admin" 
createdDate="2008-09-09 14:12:49.000" lastModifiedByUserLogin="admin" lastModifiedDate="2008-09-09 14:12:49.000" 
lastUpdatedStamp="2008-09-09 14:12:49.000" lastUpdatedTxStamp="2008-09-09 14:12:49.000" createdStamp="2008-09-09 14:12:49.000" 
createdTxStamp="2008-09-09 14:12:49.000"/>
</entity-engine-xml>


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

However, when I import this product by using a file, it works. For my specific needs, I use the "entityImport" service from one of 
my java class using fulltext as parameter. I don't want to create files on the application server. So is there a solution or is this 
issue known to use the fulltext parameter and polish character to import products ?

Thanks !

Best regards,

Amine



_________________________________________________________________
Installez gratuitement les 20 émôticones Windows Live Messenger les plus fous ! Cliquez ici !
http://www.emoticones-messenger.fr/