Closed GoogleCodeExporter closed 9 years ago
This is a problem in libxml parser.c under Windows. Could someone with a Linux
build
check what happens when they try open the attached file?
Original comment by graham.r...@gmail.com
on 6 Nov 2007 at 10:47
Attachments:
on my linux box (Debian Etch):
{{{
Erreur lors du chargement de la feuille de style :
(null)file:///tmp/deck2html_eldb.xsl
}}}
If i remove the XSTL stylesheet tag the XML is displayed as UTF-8 but Zöe is
not
displayed correctly
:(
Original comment by meshee.k...@gmail.com
on 6 Nov 2007 at 11:04
Attachments:
oops i open it with firefox... tomorrow i will compile ardb on ubuntu and
hopefully
i'll ba able to do your test
Original comment by meshee.k...@gmail.com
on 6 Nov 2007 at 11:18
I opened test.xml with a Suse version of ardb and got the following error
message:
test.xml:12: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xF6 0x65 0x3C 0x2F
<name>Z�e</name>
^
Original comment by sven.hel...@gmail.com
on 7 Nov 2007 at 10:58
If encoding is changed to <?xml version="1.0" encoding="iso-8859-1"?> XML tools
can
open the file and extract the XML data. Looking through the deck model code it
seems
Ardb sets the encoding to utf-8 or nothing. I've debugged through wxwindows on
Windows and it seems I need to build it with unicode support. If I rebuild it
and
then check all the encodings in the deck model class it may all work! But who
knows.
Original comment by graham.r...@gmail.com
on 7 Nov 2007 at 11:04
from wxARDN/INSTALL:
How to Install
=================
This program requires
libxml, libxslt, libsqlite, wxwidgets WITH UNICODE SUPPORT
(for linux, wxGTK2 is recommended)
Hope it helps
Original comment by meshee.k...@gmail.com
on 7 Nov 2007 at 11:34
I tried to build unicode versions of everything of last night but after 4 hours
I
could still get the libs built correctly to build ardb! I'm going to retry this
weekend but if I have no success after that should we change the file format
that we
save decks in? Make it a simple text format rather then one that relies on an
XML
processor and unicode?
Original comment by graham.r...@gmail.com
on 9 Nov 2007 at 10:34
The root cause of the problem is to do with how wxWindows is translating between
different character sets. I'm not an export on this and after spending 12
hours on
the problem I've fixed it by removing accented characters and replacing them
with
non-accented equivalents. This of course breaks old decks but means new decks
can be
saved and opened. I will add a new issue for developing a util for converting
across
old decks.
Original comment by graham.r...@gmail.com
on 10 Nov 2007 at 1:37
Original comment by meshee.k...@gmail.com
on 14 Nov 2007 at 8:22
Original issue reported on code.google.com by
graham.r...@gmail.com
on 6 Nov 2007 at 7:19