On 11/30/2010 04:09 PM, Caolán McNamara wrote:
On Tue, 2010-11-30 at 10:36 -0500, Joe Smith wrote:
Can someone running LibO on Fedora try and reproduce this bug:
document hyperlink with utf-8 characters fails export to PDF
http://qa.openoffice.org/issues/show_bug.cgi?id=115788
So far no one else can reproduce it.
I can. Its a problem in vcl/source/gdi/pdfwriter_impl.cxx and
DECODE_WITH_CHARSET.
We now always write as US_ASCII to pdf now, which is one change from
3.2.1, so pretty much anything with DECODE_WITH_CHARSET in that file is
very dubious unfortunately.
The attached two alternative fixes would fix it for me. Either don't
decode URIs and leave %XX in them (This might adversely affect the
"Launch" target, whatever that exactly does in PDF), or assume that we
can write as UTF-8 always. Probably need to go read the pdf spec to see
what's the correct option here.
C.
Thanks for having a look. Someone else confirmed it privately.
From your comments, it seems like this would affect all platforms. I
wonder why some people don't see it?
Is there something else I can do here to follow up? A report on fdo?
<Joe
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice