PDA

View Full Version : UTF8, ISO-8859-2 encoding


adambana
02-02-2008, 05:52 PM
Hello,

I've tried searching the forum for a complete solution on how to enable me and my users to use polish letters such as "łóąśżźć". Some posts helped, but only partially.

For example this thread (http://www.osticket.com/forums/showthread.php?t=142&highlight=text+encoding) helped encode sent email body correctly. However, the sender is still not encoded properly.

Thanks to this (http://www.osticket.com/forums/showthread.php?t=151&highlight=text+encoding) thread I learned how to encode emails stored in osticket. however only partially. While the subject is ok, the ticket body is rubbish still.

I'm using v1.63.

Can anyone help? I'm not technical, I don't even know PHP. I hope some people will find this summary useful too.

bioly
02-03-2008, 01:16 PM
HELP please

torusturtle
02-04-2008, 10:39 AM
Thanks to this (http://www.osticket.com/forums/showthread.php?t=151&highlight=text+encoding) thread I learned how to encode emails stored in osticket. however only partially. While the subject is ok, the ticket body is rubbish still.

Please check this bug report (http://www.osticket.com/forums/project.php?issueid=38).

Does that help with your installation?

peter
02-04-2008, 11:54 AM
I've replied to the bug report with the correct solution....see http://osticket.com/forums/project.php?issueid=38

adambana
02-05-2008, 09:24 AM
Hey!

Thanks for your replies. Here's how the situation now.

After I did the change Peter submited above (btw. thanx for explaining it a little better):

- emails sent to support@domain.com are transfered into tickets with correct topic, but the body is still rubbish.

- answers to tickets sent from osticket work fine (both sender and body are encoded correctly)

Any more thoughts on how to solve the last mystery?

Cheers,
Adam

adambana
02-05-2008, 09:39 AM
PS. I have checked my inbox and it displays the emails correctly, so it's definitely a problem within osticket.

peter
02-05-2008, 11:04 AM
Can you please email me the raw text of the emails you are having issues with?

KORG
02-10-2008, 12:09 PM
Will this error is corrected in version 1.6 Final?

adambana
02-11-2008, 04:18 AM
hey Peter,
Did you get my PM?

Zoidberg
02-11-2008, 04:30 AM
the utf8_decode() function works for me.

class.pop3.php, line 209:

$var['message']=Format::stripEmptyLines(utf8_decode($this->getBody($mid)));