ispCP - Board - Support
UTF-8 for automatic email from ispcp ? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: UTF-8 for automatic email from ispcp ? (/thread-652.html)

Pages: 1 2


UTF-8 for automatic email from ispcp ? - Eminos - 05-23-2007 10:09 PM

Hi there,

I just noticed that the emails that ispCP sends to new users automaticly, aren't UTF-8. So some special characters get all messed up.

Is there a way to change to UTF-8 for outgoing email from ispCP ?

Thanks ..

/E


RE: UTF-8 for automatic email from ispcp ? - joximu - 05-24-2007 03:10 AM

> Is there a way to change to UTF-8 for outgoing email from ispCP ?

Sure, it's open source :-)

But I agree: the mails also shoul be utf8 encoded.

/Joximu


RE: UTF-8 for automatic email from ispcp ? - Zothos - 05-24-2007 03:55 AM

ticket? ^^


RE: UTF-8 for automatic email from ispcp ? - Eminos - 05-24-2007 04:00 AM

Done.

/E


RE: UTF-8 for automatic email from ispcp ? - sawoy - 05-27-2007 03:22 PM

Eminos Wrote:Hi there,

I just noticed that the emails that ispCP sends to new users automaticly, aren't UTF-8. So some special characters get all messed up.

Is there a way to change to UTF-8 for outgoing email from ispCP ?

Thanks ..

/E

Hi, try to apply attached patch to file admin-functions.php file (`patch admin-functions.php admin-functions.php.patch`),
then select non english language and create new user.

i think this can help.


RE: UTF-8 for automatic email from ispcp ? - Eminos - 05-28-2007 02:38 AM

Hmm ..
Where is the patch file ?

/E


RE: UTF-8 for automatic email from ispcp ? - MicCo - 05-28-2007 03:13 AM

O'boy !

Such a bug shall not be solved by an patch, it shall be corrected right away.


RE: UTF-8 for automatic email from ispcp ? - sawoy - 05-28-2007 02:31 PM

Hm. it's strange. i think i attach a patch file. Sad
Ok, in evening i'll attach file and check that it is really attached

Quote:Such a bug shall not be solved by an patch, it shall be corrected right away.

Hm. what is "right away" ?

In my patch i decode from, to, subject fields from utf-8 to special format.
Body of message _should_ already be in utf-8 (as i understand all data in ispcp in utf-8. am i right?)
and as mail is in text/plain then no changes should be preformed for sending email.

Also i change 7bit to 8bit. Chanrset of email is already 'utf-8'

P.S.: of course if data (entered or saved in db) are not in utf-8 then it can be more complicated...


RE: UTF-8 for automatic email from ispcp ? - MicCo - 05-29-2007 04:34 PM

sawoy Wrote:Hm. what is "right away" ?

Make an ticket, so it can be solved for good !!

That's why we have the ticket system, and the lack of bugs repported via tickets can be in the way for the 1. stable release, if we have to look up all the bugs her in the forum.


RE: UTF-8 for automatic email from ispcp ? - Eminos - 05-29-2007 07:50 PM

There is already a ticket for this, since a week ago.

I will test the patch soon.

/E