diff --git a/plugins/redmine_bugs_ruby_lang/lib/redmine_ruby_lang_mailing_list_customization/redmine_ext/mailer.rb b/plugins/redmine_bugs_ruby_lang/lib/redmine_ruby_lang_mailing_list_customization/redmine_ext/mailer.rb index cf81fdda59..2d405b8b33 100644 --- a/plugins/redmine_bugs_ruby_lang/lib/redmine_ruby_lang_mailing_list_customization/redmine_ext/mailer.rb +++ b/plugins/redmine_bugs_ruby_lang/lib/redmine_ruby_lang_mailing_list_customization/redmine_ext/mailer.rb @@ -19,6 +19,7 @@ def issue_edit(user, journal) def mail(headers={}, &block) headers[:bcc] = (headers[:bcc] || []).concat((headers[:cc] || [])) headers[:cc] = [] + headers[:charset] = "utf-8" locale = headers[:to].to_s.include?('ruby-dev') ? :ja : :en I18n.with_locale(locale) { super(headers) } end