Current time: 11-30-2024, 05:27 PM Hello There, Guest! (LoginRegister)


Post Reply 
UTF-8 for automatic email from ispcp ?
Author Message
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #1
UTF-8 for automatic email from ispcp ?
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
05-23-2007 10:09 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: UTF-8 for automatic email from ispcp ?
> 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
05-24-2007 03:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #3
RE: UTF-8 for automatic email from ispcp ?
ticket? ^^
05-24-2007 03:55 AM
Find all posts by this user Quote this message in a reply
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #4
RE: UTF-8 for automatic email from ispcp ?
Done.

/E
05-24-2007 04:00 AM
Find all posts by this user Quote this message in a reply
sawoy Offline
Junior Member
*

Posts: 13
Joined: May 2007
Reputation: 1
Post: #5
RE: UTF-8 for automatic email from ispcp ?
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.
05-27-2007 03:22 PM
Find all posts by this user Quote this message in a reply
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #6
RE: UTF-8 for automatic email from ispcp ?
Hmm ..
Where is the patch file ?

/E
05-28-2007 02:38 AM
Find all posts by this user Quote this message in a reply
MicCo Offline
Moderator
*****
Moderators

Posts: 277
Joined: Oct 2006
Reputation: 1
Post: #7
RE: UTF-8 for automatic email from ispcp ?
O'boy !

Such a bug shall not be solved by an patch, it shall be corrected right away.
05-28-2007 03:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sawoy Offline
Junior Member
*

Posts: 13
Joined: May 2007
Reputation: 1
Post: #8
RE: UTF-8 for automatic email from ispcp ?
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...


Attached File(s)
.txt  admin-functions.php.patch.txt (Size: 2.74 KB / Downloads: 21)
(This post was last modified: 05-29-2007 06:10 AM by sawoy.)
05-28-2007 02:31 PM
Find all posts by this user Quote this message in a reply
MicCo Offline
Moderator
*****
Moderators

Posts: 277
Joined: Oct 2006
Reputation: 1
Post: #9
RE: UTF-8 for automatic email from ispcp ?
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.
05-29-2007 04:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #10
RE: UTF-8 for automatic email from ispcp ?
There is already a ticket for this, since a week ago.

I will test the patch soon.

/E
05-29-2007 07:50 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)