diff options
| author | Denis Ledoux <dle@openerp.com> | 2014-01-02 17:11:49 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@openerp.com> | 2014-01-02 17:11:49 +0100 |
| commit | bc50cd3558de6feec3e062d2da88dc4433ddbda3 (patch) | |
| tree | b1aa2d4123d8026cef78ebfb74a71a8e99176822 /addons/analytic_user_function/__init__.py | |
| parent | e0951d6e18676ac0b6609ab5c16ee0cb86623369 (diff) | |
[FIX] mail: mails with attachments containing special chars (such as é) were not delivered properly
get_filename method from email lib returns sometimes decoded value, sometimes still encoded.
for instance, get_filename cannot decode iso encoded filename
Recently, decode method has been applied on filename string, to handle iso encoded file.
Sadly, one cannot decode already decoded values.
Therefore, decoding already decoded windows or utf-8 encoded filename with special chars failed.
bzr revid: dle@openerp.com-20140102161149-x268xj7bzvvsit2h
Diffstat (limited to 'addons/analytic_user_function/__init__.py')
0 files changed, 0 insertions, 0 deletions
