Import do not properly handle file encodings

Gilles Serasset Gilles.Serasset at imag.fr
Thu Feb 8 17:48:01 CET 2007


Hi all,

I'm currently evaluating xwiki for a local install and found severall  
issues. Here is the first one.

When importing a xar file, all contained documents are parsed using  
the default encoding of the server JVM, regardless of the effective  
encoding of the files.

This leads to incorrect documents when running the server in an UTF-8  
configuration and importing the released xar (as they are encoded  
using ISO-8859-1, and as they effectively contain iso-8859-1  
characters, which are, BTW typos coming from French).

I already corrected this pb on the current svn snapshot. I'll post  
the patch in a comment of the JIVA issue I created.

Regards,

Gilles,

--
Gilles Sérasset
GETA-CLIPS-IMAG (UJF, INPG & CNRS)
BP 53 - F-38041 Grenoble Cedex 9
Phone: +33 4 76 51 43 80
Fax:   +33 4 76 44 66 75







More information about the devs mailing list