[Koha-bugs] [Bug 13245] New: Send Cart via Email corrupts some Unicode characters

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 13 12:25:42 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13245

            Bug ID: 13245
           Summary: Send Cart via Email corrupts some Unicode characters
 Change sponsored?: ---
           Product: Koha
           Version: 3.12
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: pongtawat at punsarn.asia
        QA Contact: testopia at bugs.koha-community.org

In OPAC -> Cart -> Send (via Email), if the comment text or the text in item
list being send contains some specific Unicode character, the email received
will have that character corrupted.

Step to reproduce:
- Go to OPAC, search for something
- Add some item to cart
- View your cart
- Click "Send"
- Enter your email address and enter "ออ" as the comment.
- View your email, you will get something like "�¸ �" as comment.

This is a known bug from HTML-Format used by html2text TT filter which was used
to format email message:

https://rt.cpan.org/Public/Bug/Display.html?id=9700

It can be easily fixed there by editing just one line as shown in the bug
report above. However, it still not fixed as of HTML-Format v2.11.

We may also fix this problem on Koha side as well by not using html2text and
turn the template into plain text (or turn the email into HTML).

Tested on 3.12, but this part of code is the same in master so it should be
affected as well.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list