Home
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Changing encoding UTF-8 in email invitations (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Re:Changing encoding UTF-8 in email invitations
#17499
Mademoiselle (User)
Fresh Lemon
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Changing encoding UTF-8 in email invitations 3 Months, 3 Weeks ago Karma: 0  
Hi,

I would like to know if it is possible to change encoding UFT-8 for MIME (or iso 8859-1 or latin-1), because the french adressee's software didn't understand UFT-8, so in the mail, we got :

Invitation à participer à une étude sur la persévérance et la réussite à l’université


Thanks.
Mademoiselle
 
Logged Logged  
  The administrator has disabled public write access.
#17523
Mazi (Moderator)
Moderator Lime
Posts: 3349
graph
User Offline Click here to see the profile of this user
Re:Changing encoding UTF-8 in email invitations 3 Months, 3 Weeks ago Karma: 28  
Which email method do you use?

You can try to modifiy the source code. There are some php function which can change the encoding of strings.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#17549
Mademoiselle (User)
Fresh Lemon
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Changing encoding UTF-8 in email invitations 3 Months, 3 Weeks ago Karma: 0  
Dear Mazi,

I trided with and without HTML email method and I got the same result. I trided to modifiy the charset in the template editor, but it doesn't work. May I try something else ? Where should I modify the source code ?

Thanks.
Mademoiselle
 
Logged Logged  
  The administrator has disabled public write access.
#17552
Mazi (Moderator)
Moderator Lime
Posts: 3349
graph
User Offline Click here to see the profile of this user
Re:Changing encoding UTF-8 in email invitations 3 Months, 3 Weeks ago Karma: 28  
There are 3 email methods which can be set in config-defaults.php (SMTP, mail, ...). Which one do you use?

When modiying the charset you shouldn't start at the templates. Depending on the email method you use you should search the code for things like "mail(" and then decode the string which is send by email.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#17560
Mademoiselle (User)
Fresh Lemon
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Changing encoding UTF-8 in email invitations 3 Months, 3 Weeks ago Karma: 0  
Hi,

I use the mail method, I tried also with SMTP, and I still got the same result.

in config-defaults.php, in email settings,I have :
$siteadminemail = " This e-mail address is being protected from spam bots, you need JavaScript enabled to view it ";
$siteadminbounce = " This e-mail address is being protected from spam bots, you need JavaScript enabled to view it ";
$siteadminname = "Your Name";
$emailmethod = "mail";
$emailsmtphost = "localhost";
$emailsmtpuser = "";
$emailsmtppassword = "";
emailsmtpssl = 0;
$maxemails = 50;

I can't find the place where I should decode the string that you are talking about.

Mademoiselle
 
Logged Logged  
  The administrator has disabled public write access.
#17593
Mazi (Moderator)
Moderator Lime
Posts: 3349
graph
User Offline Click here to see the profile of this user
Re:Changing encoding UTF-8 in email invitations 3 Months, 3 Weeks ago Karma: 28  
Check the files in /limesurvey/classes/phpmailer.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#17738
Mademoiselle (User)
Fresh Lemon
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Changing encoding UTF-8 in email invitations 3 Months, 2 Weeks ago Karma: 0  
What should I look for in phpmailer ?
 
Logged Logged  
  The administrator has disabled public write access.
#17796
Mazi (Moderator)
Moderator Lime
Posts: 3349
graph
User Offline Click here to see the profile of this user
Re:Changing encoding UTF-8 in email invitations 3 Months, 2 Weeks ago Karma: 28  
encoding
utf8
iso
mail(
header
...
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
Go to top