Bug#406926: Mangles links which contain international characters, then crashes when attempting to save the file
Package: openoffice.org-writer
Version: 2.0.4.dfsg.2-2
Severity: important
To reproduce, open a new Writer document, and enter an UTF-8-encoded
URL, such as:
http://es.wikipedia.org/wiki/M%C3%A1quina_de_Turing
(That's the Spanish Wikipedia article on Turing Machines). Enter a space
after the URL, so that it gets automatically converted into a link.
Now, the link it generates is invalid: it has turned the encoded letter
representation into the letter itself:
http://es.wikipedia.org/wiki/Máquina_de_Turing
I don't know whether this happens when it is running under a non-UTF-8
locale. My machine is UTF-8, and it does this every time.
This is bad in itself, for now we have a link that does not work, but it
gets worse: when you try to save the file, OOo will crash, and fail to
save it. Fortunately (and rather unexplainably), the recovery copy will
be there when it starts again, but you won't be able to save that either.
It took me a couple of hours to figure out why I couldn't save a rather
large file, I guess Jane R. User would have been completely stumped.
Reply to: