Summary: | Hebrew title appears as Gibberish | ||
---|---|---|---|
Product: | [Applications] kaddressbook | Reporter: | Dotan Cohen <kde-2011.08> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | tokoe |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Screenshot illustrating problem
PDF file created with Kaddressbook |
Description
Dotan Cohen
2009-09-18 02:39:10 UTC
Created attachment 37029 [details]
Screenshot illustrating problem
A screenshot is not really helpful... please provide a sample document showing the issue. Created attachment 38662 [details]
PDF file created with Kaddressbook
This seems to be a bug in Kaddressbook, not in Okular. The bug shows up when opening in Adobe Reader as well.
The single contact in this document has the name "בדיקה" and the phone number "999".
I am reassigning to Kaddressbook, even though I know that application is being rewritten from scratch. I will recheck this issue in the new Kaddressbook as soon as there is a version that I can install. Thanks!
Hej, KAddressBook just calls QPrinter::setDocName( i18n( "Address Book" ) ) where the document name is passed further to QPdfEnginePrivate::writeInfo where the following code is executed: xprintf("<<\n" "/Title(%s)\", title.toUtf8().constData()); According to PDF spec UTF-16 or PDFDocEncoding should be used instead of UTF-8, so Qt is the culprit. Reported as QTBUG-7249 Ciao, Tobias |