[Tudu] tudu v0.8.1
Enrique Matías Sánchez (Quique)
cronopios at gmail.com
Fri Aug 19 09:12:52 CEST 2011
2011/8/18 Enrique Matías Sánchez (Quique):
> I modified the files interface.cc, parser.cc and config.cc catching those calls:
> try {
> file.imbue(locale(""));
> } catch (runtime_error& err) {
> // PR 150093
> }
>
> This way, tudu mostly works on Mac OS X, but has a problem when
> reading the XML file next time, not interpreting the encoding
> correctly (vim does).
> I guess there is a bug there.
When reading an XML file containing some Unicode characters, extra
bytes 83 C2 get inserted in between.
When this is saved, next time the file is open more extra bytes are
added, thus the file becomes more and more corrupt.
Doing a quick search, I see this has happened to other programmers:
https://trac.xiph.org/ticket/1729
Maybe these links can lead you to a fix:
http://trac.xbmc.org/ticket/5658
http://stackoverflow.com/questions/1642292/utf-8-decoding-in-java
--
Nothing is enough for the man to whom enough is too little.
- Ἐπίκουρος
More information about the Tudu
mailing list