Report by mail: Get a ? instead of norwegian characters

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
DaVinci
Posts: 95
Joined: 13 Apr 2007, 07:39

Report by mail: Get a ? instead of norwegian characters

Post by DaVinci »

Hi,
I get a question mark [b]( ? )[/b] instead of norwegian charaters when i report a case via mail.
I have tried to change line 189 in file .\..\mantis\Mail\mimePart.php

[code]isset($contentType['charset']) ? $contentType['charset'] : 'US-ASCII',[/code]
to
[code]isset($contentType['charset']) ? $contentType['charset'] : 'UTF-8',[/code]

and line 205 from:
[code]isset($contentDisp['charset']) ? $contentDisp['charset'] : 'US-ASII',[/code]
to
[code]isset($contentDisp['charset']) ? $contentDisp['charset'] : 'UTF-8',[/code]

and line 400-402:

[code]// } elseif ($charset && (strtolower($charset) != 'us-ascii')) {
} elseif ($charset && (strtolower($charset) != 'utf-8')) {
$shouldEncode = 1;
//} elseif ($language && ($language != 'en' && $language != 'en-us')) {
} elseif ($language && ($language != 'en' && $language != 'nb-no')) {[/code]

but i still get questionamrk instead of norwegian chracters.

Can nayone help me here please.
Post Reply