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 <[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 > > 2008/9/9 Jacques Le Roux <[EMAIL PROTECTED]> > > > Maybe > > > http://www.nabble.com/forum/Search.jtp?local=y&forum=2740&query=CharConversionException+Invalid+UTF-8+Encoding > > > > Jacques > > > > From: "Amine Benkirane" <[EMAIL PROTECTED]> > > > > 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/ > > >
