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

Jesper K. Pedersen blackie at blackie.dk
Sat Sep 25 18:49:31 BST 2004


Hi Jean-Michel.
I'm afraid I don't have any answer from you on that point.

I'm puzzled of why you have this problem, even if the file name was not picked 
correct up anymore, the file should still be OK, but seems like it isn't.

Cheers
Jesper.

On Thursday 23 September 2004 20:39, Jean-Michel FAYARD wrote:
| 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 ?
|
| _______________________________________________
| KimDaBa mailing list
| KimDaBa at klaralvdalens-datakonsult.se
| http://sulaco.hrhansen.dk/mailman/listinfo/kimdaba

-- 
Jesper K. Pedersen          |  Klarälvdalens Datakonsult
Senior Software Engineer    |  www.klaralvdalens-datakonsult.se
Peder Skrams Gade 27 3. tv. |
6700 Esbjerg                |  Platform-independent
Denmark                     |  software solutions



More information about the Kphotoalbum mailing list