UTF8 Problem in Mail-Subject

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
FrankM
Posts: 2
Joined: 30 Oct 2014, 15:34

UTF8 Problem in Mail-Subject

Post by FrankM »

Mantis-Version: 1.2.17
System: openSUSE 12.3 (x86_64)
Apache: 2.2.22-10.12.1
PHP: 5.3.17-3.34.1
MYSQL: 5.5.14.0


Hi Guys,
since today we the notification mails can't encode special characters in the mail-subject. The encoding in the website or in the mail body is without any error.

e.g. Mail-Subject:

RIGHT: Test ÄÖÜß öäüß '# ,;.:°^!"§$%&/()()=?

WRONG: Test =C3=84=C3=96=C3=9C=C3=9F =C3=B6=C3=A4=C3=BC=C3=9F '# ,;.:=C2=B0^!"=C2=A7$%&/()()=?

- There was no automatic update or something else.
- i tried different mail-server
- i tried an different server and set an fresh mantis installation only with old "config_inc.php" mysql-connect is to an copy of the production database

config_inc.php:

<?php
$g_hostname = 10.2.1.3';
$g_db_type = 'mysql';
$g_database_name = 'testmantis';
$g_db_username = 'testmantis32';
$g_db_password = '435345f23r23';
$g_use_persistent_connections = ON;
$g_use_jpgraph = ON;
$g_jpgraph_path = '/srv/www/htdocs/mantisbt-1.2.17/jpgraph/src';
$g_absolute_path_default_upload_folder = 'upload';
$g_administrator_email = 'mantis@domain';
$g_webmaster_email = 'admins@domain';
$g_from_email = 'mantis@domain';
$g_from_name = 'mantis@domain';
$g_return_path_email = 'mantis@domain';
$g_enable_email_notification = ON;
$g_email_receive_own = ON;
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.domain';
$g_smtp_port = '465';
$g_smtp_connection_mode = 'ssl';
$g_smtp_username = 'mantis@domain';
$g_smtp_password = '43534534535';
$g_email_send_using_cronjob = ON;
$g_default_language = 'german';
$g_window_title = 'Mantis'; # browser window title
$g_default_email_on_new_minimum_severity = ON; # 'any'
$g_default_email_on_assigned_minimum_severity = ON; # 'any'
$g_default_email_on_feedback_minimum_severity = ON; # 'any'
$g_default_email_on_resolved_minimum_severity = ON; # 'any'
$g_default_email_on_closed_minimum_severity = ON; # 'any'
$g_default_email_on_reopened_minimum_severity = ON; # 'any'
$g_default_email_on_bugnote_minimum_severity = ON; # 'any'
$g_default_email_on_status_minimum_severity = ON; # 'any'
$g_document_files_prefix = 'doc, pdf, jpg, png, bmp';
$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,80:resolved,25:check,26:plan,90:closed';
$s_check_bug_button = "Check";
$s_check_bug_title = "Check";
$s_email_notification_title_for_status_bug_check = "Check";
$g_status_colors['check'] = '#999933';
$s_plan_bug_button = "Plan";
$s_plan_bug_title = "Plan";
$s_plan_notification_title_for_status_bug_check = "Plan";
$g_status_colors['plan'] = '#3bb39e';
?>

Do you have any idea?

Thank you

Frank
Post Reply