[Okular-devel] [okular] [Bug 334733] New: Okular txt backend chokes on unicode text

Sergio sergio.callegari at gmail.com
Wed May 14 07:47:00 UTC 2014


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

            Bug ID: 334733
           Summary: Okular txt backend chokes on unicode text
    Classification: Unclassified
           Product: okular
           Version: 0.19.1
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: sergio.callegari at gmail.com

This bug has been tagged for the general component of okular, but in fact has
to do with the txt backend that is not present in the drop down menu in the bug
tracker.

To reproduce

Make a text file with utf-8 encoding. Make sure that there is one character
with a two byte representation in it, say 'è'.

Trying to display the file content in okular, in the best scenario displays the
file with some weird gliphs in place of the two-byte char.  In the worst case
displays a blank page.

In order to support txt files, I think that okular needs to be able to guess
the encoding first. Even better, when the txt backend is active, there should
be a way to explicitly instruct okular about the encoding to use (e.g. an extra
entry in the view menu), like all programs that need to deal with text files
(e.g. kate) typically do.

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list