[Okular-devel] [Bug 187768] New: lilypond-generated textedit urls with accented characters don't work

Wilbert Berendsen wbsoft at xs4all.nl
Sat Mar 21 08:28:13 CET 2009


https://bugs.kde.org/show_bug.cgi?id=187768

           Summary: lilypond-generated textedit urls with accented
                    characters don't work
           Product: okular
           Version: 0.8.1
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: wbsoft at xs4all.nl


Version:           0.8.1 (using KDE 4.2.1)
OS:                Linux
Installed from:    Ubuntu Packages

I have a LilyPond file called "tëst.ly" (i.e. with an accented character in
it). When I run LilyPond on it, it generates a PDF with embedded textedit://
urls that point to the source document.

But LilyPond always encodes filenames in textedit:// URLs in UTF-8 encoding.

The problem is that Okular does not know that and so does not find the file and
does not call the editor.

Possible solutions:
- don't test for existence of the file, just call the editor and let the editor
try to open the file
- perform the conversion from UTF-8 once (using something like
QString::fromUtf8(url.toLatin1()))

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list