[KimDaBa] Bad encoding in filename ==> kimdaba die after xml parsing

Jean-Michel FAYARD jmfayard at gmail.com
Thu Sep 23 21:39:09 CEST 2004


Hello, 
when I start kimdaba, it die with the error 
"Error at line 12854 ... : error occured while parsing element"

Debug :
$ xmllint index.xml
index.xml:12702: parser error : Input is not proper UTF-8, indicate encoding !
5sum="774901ae194a650d0d2a2911347eb153" file="2002-06-06_mariage_cecile/02 -Fran
                                                                               ^
index.xml:12702: error: Bytes: 0xE7 0x6F 0x69 0x73
5sum="774901ae194a650d0d2a2911347eb153" file="2002-06-06_mariage_cecile/02 -Fran
                                                                               ^

It turns out that I have a file named : 
2002-06-06_mariage_cecile/02\ -François\ se\ goinfre.JPG   

When the file was created, my filesystem was latin1, now SuSE use
utf-8, so the 'ç' is not correct. This make the whole document not
well-formed and the database useless.

Is there a way to avoid that ?



More information about the KimDaBa mailing list