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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 25 11:10:03 CEST 2016


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

Filippos Kolovos <f.kolovos at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |f.kolovos at gmail.com

--- Comment #8 from Filippos Kolovos <f.kolovos at gmail.com> ---
Goodmorning to all,

There is also another problem concerning the cart (and lists) when they are
sent via email nad contain Greek characters at the subject and at the name of
the sender. 

The subject and the sender's name arrive unintelligible to the end user, but
only the greek characters. However, the message's content arrives correctly. 

Steps to Reproduce for the cart:
- Go to the OPAC environment and login (preferably the full name of the logged
in user should contain non-english characters as well)
- Change to greek language, or a language that will contain unicode characters
at the subject line
- Add some items to your cart
- View your cart
- Click "Send"
- Enter the email address of the recipient and a comment (the comment is
optional)
- Click "Send"

Steps to reproduce for the List:
- Go to the OPAC environment and login (preferably the full name of the logged
in user should contain non-english characters as well)
- Change to greek language, or a language that will contain unicode characters
at the subject line
- Select a list from your lists, or create one giving it a name with
non-english characters
- Click "Send"
- Enter the email address of the recipient and a comment (the comment is
optional)
- Click "Send"

The subjects of the emails received for each cart / lists are unintelligible.
The are supposed to read "Your Cart" and "Your List: name of list" in Greek.
Also, the sender's name, if it is Greek, or I suppose non-english, it is also
unintelligible.

I attach:

- Four screenshots concerning the send form for each case and the email
received for each case.
- Two proposed patches, one for each case (opac-sendbasket.pl and
opac-sendshelf.pl). It seems that the subject and sender's encoding has to be
in MIME-Q and not in UTF-8, as they have to be quoted-printable "encoded".

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


More information about the Koha-bugs mailing list