Hi,
I had two problems with special characters in the subject:
1 - Receiving e-mails with this characters in the subject line.
This characters was appearing all messed up on the staff control panel and also in the database.
I solve this problem following the instructions on this thread: http://osticket.com/forums/showthread.php?t=993&highlight=accents(http://osticket.com/forums/showthread.php?t=993&highlight=accents)
Thanks Adrian :)
Then I realized that I was having another problem:
2 - Sending e-mails through SMTP and with special characters in the subject line.
The e-mails were appearing with the subject all messed up to the user, but not for me on the staff control panel
This problem is on the file include/class.email.php
On the function send() you can find something like this:
$options=array('head_encoding' => 'quoted-printable',
'text_encoding' => 'quoted-printable',
'html_encoding' => 'base64',
'html_charset' => 'utf-8',
'text_charset' => 'utf-8');
Just replace it with this:
$options=array('head_encoding' => 'quoted-printable',
'text_encoding' => 'quoted-printable',
'html_encoding' => 'base64',
'head_charset' => 'utf-8',
'html_charset' => 'utf-8',
'text_charset' => 'utf-8');
And everything should work very well :)
As you see, the head_charset wasn't there, and by default head_charset is iso-8859-1 when not specifying.
I hope it will help someone.
Alisson Patrício
http://alisson.net(http://alisson.net)