|
|||||||
| failure in encoding email body to UTF-8 | ||||
|---|---|---|---|---|
| incoming Email is not encoded to UTF-8 | ||||
Category Unknown |
Affected Version 1.6.0 rc3 |
Priority 5 - Medium |
||
Status Fixed |
Fixed Version 1.6 rc4 |
|||
Submitted 01-30-2008 |
||||
|
||||
|
|
|
|
|
|
failure in encoding email body to UTF-8
incoming Email is not encoded to UTF-8
When receiving an Email with osTicket 1.6 RC3 in any other charset then utf8 osTicket saves the body in it's original charset and not utf8.
Because of that special characters will not be displayed correctly in the web. I had to edit the following in /include/class.pop3.php: Code:
$var['message']=Format::stripEmptyLines(utf8_encode($this->getBody($mid))); |
|
|
||
|
||
|
Will this error is corrected in version 1.6 Final?
|
|
|
||
|
||
|
the imap_utf8 function works for me.
class.pop3.php, line 209: Code:
$var['message']=Format::stripEmptyLines(imap_utf8($this->getBody($mid))); |
|
|
||
|
||
|
What if I'm using piping method?
Thank you for your help, Raffy |
|
|
||
|
||
|
Hello, I'm not using pop3, but piping.
Can you help me- What shall I have to change for solving problems with accented characters (foreign chars) inside emails? Thank you in advance for your help, Raffy |
|
|
||
|
||
|
Although not a proper solution, you can change the last line of the function getBody in class.mailparse.php from return $body to return utf8_encode($body). This works with piping
|
|
|
||
|
||
![]() |
| Issue Tools |
|---|
Subscribe to this issue |