Dear Developers,
in e-mail "From" and "Subject" fields the coding maybe not perfect because for example these characters "ŰÁÚŐÉÓÍ íáéűúőó" look wrong. Could You tell me where and how can I change that?
Thanks in advanced!
Best regards,
George
Dear Developers,
in e-mail "From" and "Subject" fields the coding maybe not perfect because for example these characters "ŰÁÚŐÉÓÍ íáéűúőó" look wrong. Could You tell me where and how can I change that?
Thanks in advanced!
Best regards,
George
Dear Developers,
I have same problem with characters äöåÄÖÅ. If some characters (äöå) is in the subject i can't see subject. How can i fix it?
Best regards,
Eero
Thanks for reporting it, but could you please be more specific? Where exactly is the problem? Subject of the incoming emails? Subject of the ticket?
Problem is subject of the incoming emails (Viesti lisÀtty)
And if the user sends the mail with äö in the title. Sähköposti shown as S. Title is only S in Open tickets sites.
I can confirm this bug, which appears to be a duplicate of this one:
http://www.katak-support.com/en/content/special-characters-%C3%BC%C3%B6%...
All incoming e-mail header fields are getting truncated at the first hex-encoded special UTF8 character. I mostly encounter this issue with Subject and From fields.
For example, "=?UTF-8?Q?John=C5=A0Doe?=" gets truncated into "John" instead "JohnŠDoe"
So for anyone else is having issues with this bug, which was apparently adopted from OSticket, the proposed solution implemented in OSticket works for Katak Support.
In
include/class.mailfetch.php,
replace the mime_decode($text) function with
function mime_decode($text, $encoding='utf-8') {
if (function_exists('mb_detect_encoding'))
if (($src_enc = mb_detect_encoding($text))
&& (strcasecmp($src_enc, 'ASCII') !== 0))
return Format::encode($text, $src_enc, $encoding);
$str = '';
$parts = imap_mime_header_decode($text);
foreach ($parts as $part)
$str.= $this->mime_encode($part->text, $part->charset, $encoding);
return $str?$str:imap_utf8($text);
}
Source: https://github.com/osTicket/osTicket-1.7/issues/826#issuecomment-28581864
Would be nice if this bugfix, as well as the outgoing mail header UTF-8 encoding fix[1], were included in the master branch on github.
[1] http://www.katak-support.com/en/comment/85#comment-85