[imp] filename becomes ???.txt if not English of .txt

Nethub Online - Ming nethubonline at gmail.com
Tue Jun 9 07:37:02 UTC 2015


Hi all,

Horde Version

    5.2.5

Horde Applications

    Agora [Forums]: unknown
    Ansel [Photos]: unknown
    Chora [Version Control]: unknown
    Content: 2.0.4
    Gollem [File Manager]: H5 (3.0.3) (run tests)
    Hermes [Time Tracking]: unknown
    Imp [Mail]: H5 (6.2.8) (run tests)
    Ingo [Filters]: H5 (3.2.5) (run tests)
    Jonah [News]: unknown
    Klutz [Comics]: unknown
    Kolab [Kolab]: unknown
    Kronolith [Calendar]: H5 (4.2.7) (run tests)
    Luxor [X-Ref]: unknown
    Mnemo [Notes]: H5 (4.2.6)
    Nag [Tasks]: H5 (4.2.4)
    Passwd [Password]: H5 (5.0.2) (run tests)
    Sam [Spam]: unknown
    Sesha [Inventory]: unknown
    Timeobjects: 2.1.0
    Trean [Bookmarks]: H5 (1.1.1)
    Turba [Address Book]: H5 (4.2.6) (run tests)
    Ulaform [Forms]: unknown
    Vilma [Mail Admin]: unknown
    Whups [Tickets]: unknown
    Wicked [Wiki]: unknown


I tested that if I compose new email and attach a file with non English
characters (e.g.: めまして.txt / 測試.txt) , the attachment filename will be
changed to ???.txt

This only happen for .txt file, but no problem for .png

Even I just save it in draft, it is also ???.txt

Below is part of mail source, you can see .png is using utf-8 but .txt is
using us-ascii, I think it is the core problem. Is there anyone can help?

--=_niDwCrm6H6ppSnSrbXnJVqo
Content-Type: text/plain; name*=us-ascii''%3F%3F%3F%3F.txt
Content-Disposition: attachment; size=10;
 filename*=us-ascii''%3F%3F%3F%3F.txt

fjskafjsal
--=_niDwCrm6H6ppSnSrbXnJVqo
Content-Type: image/png;
 name*=utf-8''%E3%82%81%E3%81%BE%E3%81%97%E3%81%A6.png
Content-Disposition: attachment; size=7736;
 filename*=utf-8''%E3%82%81%E3%81%BE%E3%81%97%E3%81%A6.png
Content-Transfer-Encoding: base64


More information about the imp mailing list