Project

General

Profile

Actions

Defect #11065

closed

E-Mail submitted tickets: German umlauts in 'Subject' get malformed (ruby 1.8)

Added by Andreas Fries almost 12 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Email receiving
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Hello

I'm currently in beta-tests for a new Helpdesk Solution for our company and I am really happy with almost everything - except the weak mailfetch functions. But aside from some minor missing features I found a bug, which is critical for us:

I fetch mails like described in the documentation:

rake -f /var/www/redmine/Rakefile redmine:email:receive_pop3 RAILS_ENV='production' host=example.tld username=helpdesk@example.tld password=secret project=new_tickets

The problem is, that whenever I have German Umlauts (öäü / Eg. 'ü') in the 'Subject' field, they are getting cut of (Eg. "Notebook überhitzt" becomes "Notebook") when viewing the ticket in Redmine while the E-Mail notification shows strange characters instead of the umlaut (it becomes a black rhombus with a queston-mark inside).

Creating tickets with umlauts in Redmine with the Webbrowser works as expected.

Rake About:

root@redmine01:/var/www/redmine# RAILS_ENV=production rake about
About your application's environment
Ruby version              1.8.7 (i486-linux)
RubyGems version          1.8.24
Rack version              1.4
Rails version             3.2.3
Active Record version     3.2.3
Action Pack version       3.2.3
Active Resource version   3.2.3
Action Mailer version     3.2.3
Active Support version    3.2.3
Middleware                Rack::Cache, ActionDispatch::Static, Rack::Lock, #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0xb6cd7538>, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::RemoteIp, ActionDispatch::Callbacks, ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, ActionDispatch::ParamsParser, ActionDispatch::Head, Rack::ConditionalGet, Rack::ETag, ActionDispatch::BestStandardsSupport, OpenIdAuthentication
Application root          /var/www/redmine
Environment               production
Database adapter          mysql
Database schema version   20120422150750

I would really appreciate any help

Best regards
Andreas Fries


Files

raw-mails.zip (78.1 KB) raw-mails.zip RAW Mails Andreas Fries, 2012-06-01 15:51

Related issues

Related to Redmine - Defect #11117: Mailhandler bug on french accent in mail title Closed

Actions
Actions

Also available in: Atom PDF