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/ |
Administrator
|
Maybe http://www.nabble.com/forum/Search.jtp?local=y&forum=2740&query=CharConversionException+Invalid+UTF-8+Encoding
Jacques From: "Amine Benkirane" <[hidden email]> 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/ |
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 <[hidden email]> > Maybe > http://www.nabble.com/forum/Search.jtp?local=y&forum=2740&query=CharConversionException+Invalid+UTF-8+Encoding > > Jacques > > From: "Amine Benkirane" <[hidden email]> > > 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/ > |
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 <[hidden email]> > 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 <[hidden email]> > > > Maybe > > > http://www.nabble.com/forum/Search.jtp?local=y&forum=2740&query=CharConversionException+Invalid+UTF-8+Encoding > > > > Jacques > > > > From: "Amine Benkirane" <[hidden email]> > > > > 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/ > > > |
Administrator
|
In reply to this post by Sven Wesley
From: "Sven Wesley" <[hidden email]>
>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 <[hidden email]> > >> Maybe >> http://www.nabble.com/forum/Search.jtp?local=y&forum=2740&query=CharConversionException+Invalid+UTF-8+Encoding >> >> Jacques >> >> From: "Amine Benkirane" <[hidden email]> >> >> 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/ >> > |
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 |
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 > > |
In reply to this post by Jacques Le Roux
2008/9/9 Jacques Le Roux <[hidden email]>
> From: "Sven Wesley" <[hidden email]> > >> 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 > > on String objects. Regards, Sven |
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: [hidden email] > To: [hidden email]; [hidden email] > Subject: Re: Import Text : "ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding" > > 2008/9/9 Jacques Le Roux <[hidden email]> > > > From: "Sven Wesley" <[hidden email]> > > > >> 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/ |
Administrator
|
In reply to this post by Sven Wesley
----- Original Message ----- From: "Sven Wesley" <[hidden email]> To: <[hidden email]>; "Jacques Le Roux" <[hidden email]> 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 <[hidden email]> > >> From: "Sven Wesley" <[hidden email]> >> >>> 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 > |
Administrator
|
In reply to this post by Amine Benkirane
Did you try Bruno's tip ?
JAcques From: "Amine Benkirane" <[hidden email]> >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: [hidden email] > To: [hidden email]; [hidden email] > Subject: Re: Import Text : "ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding" > > 2008/9/9 Jacques Le Roux <[hidden email]> > > > From: "Sven Wesley" <[hidden email]> > > > >> 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/ |
In reply to this post by Adrian Crum
OK : My navigator "view selection source" (Firefor 3) doesn't display "/" or
end-tags Thanks Eric ----- Original Message ----- From: "Adrian Crum" <[hidden email]> To: <[hidden email]> 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 >> >> > |
In reply to this post by Jacques Le Roux
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: [hidden email] > To: [hidden email] > 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" <[hidden email]> > >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: [hidden email] > > To: [hidden email]; [hidden email] > > Subject: Re: Import Text : "ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding" > > > > 2008/9/9 Jacques Le Roux <[hidden email]> > > > > > From: "Sven Wesley" <[hidden email]> > > > > > >> 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/ |
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 <[hidden email]> > > 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: [hidden email] > > To: [hidden email] > > 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" <[hidden email]> > > >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: [hidden email] > > > To: [hidden email]; [hidden email] > > > Subject: Re: Import Text : "ERROR: Error parsing entity xml file: > java.io.CharConversionException: Invalid UTF-8 Encoding" > > > > > > 2008/9/9 Jacques Le Roux <[hidden email]> > > > > > > > From: "Sven Wesley" <[hidden email]> > > > > > > > >> 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/ > |
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 <[hidden email]>: > 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 <[hidden email]> > >> >> 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: [hidden email] >> > To: [hidden email] >> > 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" <[hidden email]> >> > >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: [hidden email] >> > > To: [hidden email]; [hidden email] >> > > Subject: Re: Import Text : "ERROR: Error parsing entity xml file: >> java.io.CharConversionException: Invalid UTF-8 Encoding" >> > > >> > > 2008/9/9 Jacques Le Roux <[hidden email]> >> > > >> > > > From: "Sven Wesley" <[hidden email]> >> > > > >> > > >> 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/ >> > |
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 <[hidden email]> > 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 <[hidden email]>: > > 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 <[hidden email]> > > > >> > >> 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: [hidden email] > >> > To: [hidden email] > >> > 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" <[hidden email]> > >> > >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: [hidden email] > >> > > To: [hidden email]; [hidden email] > >> > > Subject: Re: Import Text : "ERROR: Error parsing entity xml file: > >> java.io.CharConversionException: Invalid UTF-8 Encoding" > >> > > > >> > > 2008/9/9 Jacques Le Roux <[hidden email]> > >> > > > >> > > > From: "Sven Wesley" <[hidden email]> > >> > > > > >> > > >> 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/ > >> > > > |
Forgot to mention I use Windows...
2008/9/13 Bruno Busco <[hidden email]> > 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 <[hidden email]> > > 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 <[hidden email]>: >> > 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 <[hidden email]> >> > >> >> >> >> 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: [hidden email] >> >> > To: [hidden email] >> >> > 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" <[hidden email]> >> >> > >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: [hidden email] >> >> > > To: [hidden email]; [hidden email] >> >> > > Subject: Re: Import Text : "ERROR: Error parsing entity xml file: >> >> java.io.CharConversionException: Invalid UTF-8 Encoding" >> >> > > >> >> > > 2008/9/9 Jacques Le Roux <[hidden email]> >> >> > > >> >> > > > From: "Sven Wesley" <[hidden email]> >> >> > > > >> >> > > >> 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/ >> >> >> > >> > > |
In reply to this post by Scott Gray
Yes I checked it, it was UTF-8... Regards, Amine > Date: Sat, 13 Sep 2008 20:28:52 +1200 > From: [hidden email] > To: [hidden email] > 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 <[hidden email]>: > > 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 <[hidden email]> > > > >> > >> 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: [hidden email] > >> > To: [hidden email] > >> > 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" <[hidden email]> > >> > >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: [hidden email] > >> > > To: [hidden email]; [hidden email] > >> > > Subject: Re: Import Text : "ERROR: Error parsing entity xml file: > >> java.io.CharConversionException: Invalid UTF-8 Encoding" > >> > > > >> > > 2008/9/9 Jacques Le Roux <[hidden email]> > >> > > > >> > > > From: "Sven Wesley" <[hidden email]> > >> > > > > >> > > >> 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/ |
Free forum by Nabble | Edit this page |