Feng Forum
Support => Older versions => : lukacsp March 05, 2010, 07:48:59 AM
-
Hi,
utf-8 is our global settings (for sending emails too). Its working fine, but...
The received mail's subject is perfect, but the body (at least on MS Outlook) looks like this:
"Kérlek állítsd át c5ket, "
its supposed to be like this:
"Kérlek állítsd át őket, "
Im hungarian, and we using some special characters: ő Ő, ű, Ű. I know that the latin1 code page contains every hungarian letters except this 4, maybe its related to it somehow... any clue? This code below is from an utf8-conversion function:
HUNGARIAN 'ő' = char(197) + char(145)) --c5 91
HUNGARIAN 'Ő' = char(197) + char(144)) --c5 90
HUNGARIAN 'ű' = char(197) + char(177)) --c5 b1
HUNGARIAN 'Ű' = char(197) + char(176)) --c5 b0
Another observation:
When i trying to forward a message in feng office, and i switch from HTML to plain text, its look like this:
"Kérlek állítsd át őket"
The special characters converted to html entities except the ő character...
Update:
I saved the original mail (i forwarded this mail in my tests) from Feng Office, and the sentence above looks like this:
"K=E9rlek =E1ll=EDtsd =E1t =F5ket"
So my character encoding problem is related with the mail writing process...
***
If it can be repaired with a quick swiftmailer hack, thats enough for me ;)
Thanks!
-
Update:
my quoted-printable characters doesnt converted to html entities,
For example "=C5" should converted to ó and so on... any help in this?
-
Hi,
Please add this 2 lines to "application/views/mail/add_mail.php" after line 355
,
entities_additional : '#39,#336,#337,#368,#369'
After refreshing the page, these four characters will be added as entities to the mail editor.
regards
-
Thank you for your kind help! It works flawlessly now.