View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016909 | mantisbt | public | 2014-01-30 11:39 | 2014-05-17 09:12 | |
Reporter | AndreR | Assigned To | dregad | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 1.2.15 | ||||
Summary | 0016909: Email notification in Russian doesn't work properly | ||||
Description | Whenever a cyrillic symbol appears in a sent notification, it's replaced by a question mark. All latin symbols work. This is similar to the old bug 0010136. Is this due to misconfiguraion or an actual bug? | ||||
Tags | No tags attached. | ||||
@Kirill, maybe you can assist on this one ? |
|
@AndreR, can you connect with me? http://www.kraeg.ru/contact |
|
@Kirill: Thanks in advance! My coworker Vitalij will contact you on Skype. |
|
Hm, we tried some stuff last Friday, but we haven't found a solution yet. According to Kirill, it must have something to do with the fact that we run a XAMPP server on a very old XP machine. We have activated all code pages, but that didn't work. |
|
Check if the line <code>$t_email_data->metadata['charset'] = 'utf-8';</code> is present in "email_store()" function. If the charset is assigned another value, consider fixing. Also check if the actual SMTP message sent contains a question mark in place of the cyrillic symbol. Also check if your viewer supports UTF-8 and has a correct font charset for cyrillic symbols (although in this case there will be squares instead of question marks). We here have cyrillic symbols everywhere and they are all parsed and viewed correctly. |
|
AndreR, based on provided feedback, this would appear not to be a bug in MantisBT, so I am therefore resolving this issue as "no change required". If it turns out to be a bug after all, feel free to reopen the issue with additional informatino. |
|
Maxim, the mail text actually contains only questionmarks. It's not just a displaying problem. The line $t_email_data->metadata['charset'] = 'utf-8'; is also present in email_api.php line 818. |
|
AndreR, try logging the email text from within email_send() function, if that logs OK, search Apache configuration for enabling Unicode. |
|
I just added a file_put_contents("test.log",$t_message); into line 817 of the same file. Inside the test.log file the encoding seems to be fine. It appears as it whould without any questionmarks in wrong places. It seems like the error appears somewhere later. Any idea what I could try next? Im using XAMPP, by the way. |
|
What's your $g_phpMailer_method setting? Maybe you should shift to SMTP mailing, so that possible interference from Apache will be eliminated. |
|
We're already using SMTP (over a SMTP enabled Exchange address) |
|
Weird then. Check your Exchange transport logs if subject is parsed correctly by Exchange, and what is content type of emails sent by MantisBT. Check OWA access to one of the mailboxes that receive your email if it's viewed correctly via OWA. If nothing would help, reinstall XAMPP, probably upgrade it, and stuff it with backed up MantisBT base and code and check again. |
|