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 <[EMAIL PROTECTED]> > > 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: [EMAIL PROTECTED] > > To: [email protected] > > 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" <[EMAIL PROTECTED]> > > >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: [EMAIL PROTECTED] > > > To: [email protected]; [EMAIL PROTECTED] > > > Subject: Re: Import Text : "ERROR: Error parsing entity xml file: > java.io.CharConversionException: Invalid UTF-8 Encoding" > > > > > > 2008/9/9 Jacques Le Roux <[EMAIL PROTECTED]> > > > > > > > From: "Sven Wesley" <[EMAIL PROTECTED]> > > > > > > > >> 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/ >
