Project

General

Profile

Actions

Defect #4608

closed

Mail attachment name encoding is incorectly handled

Added by Anton Statutov about 14 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
2010-01-19
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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.


Files

attachment_test.eml (1.06 KB) attachment_test.eml message with UTF-8 named attachment Anton Statutov, 2010-01-19 12:17
проверка_вложений.txt (31 Bytes) проверка_вложений.txt This is how must be Anton Statutov, 2010-01-19 12:17
RgNC_0LLQtdGA0LrQsCDQstC70L7QttC10L3QuNC5LnR4dA____ (31 Bytes) RgNC_0LLQtdGA0LrQsCDQstC70L7QttC10L3QuNC5LnR4dA____ This is how it is now Anton Statutov, 2010-01-19 12:17

Related issues

Related to Redmine - Feature #2371: character encoding for attachment fileClosedToshi MARUYAMA2008-12-22

Actions
Related to Redmine - Defect #12399: Non ASCII attachment filename encoding broken (MOJIBAKE) in receiving mail on Ruby 1.8ClosedToshi MARUYAMA

Actions
Actions #1

Updated by Anton Statutov about 14 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

Actions #2

Updated by Emils Klotins about 14 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=
Actions #3

Updated by Rodion S almost 14 years ago

I get this error too

Is resolution founded ?

Actions #4

Updated by Anton Statutov almost 14 years ago

  • Assignee set to Azamat Hackimov
Actions #5

Updated by Anton Statutov about 13 years ago

  • Assignee deleted (Azamat Hackimov)
Actions #7

Updated by Toshi MARUYAMA almost 9 years ago

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

Updated by Toshi MARUYAMA almost 9 years ago

  • Status changed from New to Closed

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

Actions #9

Updated by Toshi MARUYAMA almost 9 years ago

I think this issue is fixed by #12399.

Actions #10

Updated by Toshi MARUYAMA almost 9 years ago

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

Also available in: Atom PDF