Defect #4608

Mail attachment name encoding is incorectly handled

Added by Anton Statutov almost 8 years ago. Updated over 2 years ago.

Status:ClosedStart date:2010-01-19
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Email receiving
Target version:-
Resolution: Affected version:0.8.7

Description

When I'm sending messages with utf-8 or windows-1251 or koi8-r encodings in attachment names they are handled incorrectly. Please look attachments for example.

attachment_test.eml - message with UTF-8 named attachment (1.06 KB) Anton Statutov, 2010-01-19 12:17

проверка_вложений.txt Magnifier - This is how must be (31 Bytes) Anton Statutov, 2010-01-19 12:17

RgNC_0LLQtdGA0LrQsCDQstC70L7QttC10L3QuNC5LnR4dA____ - This is how it is now (31 Bytes) Anton Statutov, 2010-01-19 12:17


Related issues

Related to Redmine - Feature #2371: character encoding for attachment file Closed 2008-12-22
Related to Redmine - Defect #12399: Non ASCII attachment filename encoding broken (MOJIBAKE) ... Closed

History

#1 Updated by Anton Statutov almost 8 years ago

Ruby version 1.8.7 (i386-freebsd7)
RubyGems version 1.3.5
Rails version 2.1.2
Active Record version 2.1.2
Action Pack version 2.1.2
Active Resource version 2.1.2
Action Mailer version 2.1.2
Active Support version 2.1.2
Edge Rails revision unknown
Application root /usr/home/redmine/redmine.we
Environment development
Database adapter mysql

#2 Updated by Emils Klotins over 7 years ago

Confirmed, this happens when creating issues via e-mail from Outlook/Exchange -- the subject line/issue subject gets eg. Latvian Unicode chars translated into Japanese(?) chars

  • Redmine 0.8.4.stable (MySQL)
  • SuSE 10.2 x86-64
  • Microsoft Exchange 2007
  • Redmine server language settings:
    LANG=lv_LV.UTF-8
    LC_CTYPE="lv_LV.UTF-8"
    LC_NUMERIC="lv_LV.UTF-8"
    LC_TIME="lv_LV.UTF-8"
    LC_COLLATE="lv_LV.UTF-8"
    LC_MONETARY="lv_LV.UTF-8"
    LC_MESSAGES="lv_LV.UTF-8"
    LC_PAPER="lv_LV.UTF-8"
    LC_NAME="lv_LV.UTF-8"
    LC_ADDRESS="lv_LV.UTF-8"
    LC_TELEPHONE="lv_LV.UTF-8"
    LC_MEASUREMENT="lv_LV.UTF-8"
    LC_IDENTIFICATION="lv_LV.UTF-8"
    LC_ALL=

#3 Updated by Rodion S over 7 years ago

I get this error too

Is resolution founded ?

#4 Updated by Anton Statutov over 7 years ago

  • Assignee set to Azamat Hackimov

#5 Updated by Anton Statutov over 6 years ago

  • Assignee deleted (Azamat Hackimov)

#7 Updated by Toshi MARUYAMA over 2 years ago

  • Related to deleted (Patch #2059: broken subject when submitting issue via email written in japanese)

#8 Updated by Toshi MARUYAMA over 2 years ago

  • Status changed from New to Closed

This issue is too old.
Ruby 1.8 support was dropped on Redmine 3.x.

#9 Updated by Toshi MARUYAMA over 2 years ago

I think this issue is fixed by #12399.

#10 Updated by Toshi MARUYAMA over 2 years ago

  • Related to Defect #12399: Non ASCII attachment filename encoding broken (MOJIBAKE) in receiving mail on Ruby 1.8 added

Also available in: Atom PDF