We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Email Template And Unicode | Forum

Topic location: Forum home » Support » General Questions
drstreet
drstreet Aug 21 '14
hi guys 

where can i change the unicode of email ! 

the subject wrote like  " Ø¨Ù‡ کیوکیو، پایتخ " BUT email message have right (good) text ! 


another question , can i design email template? where is the code of email template?



thanks

ross Team
ross Aug 22 '14
Drstreet, as to the subject issue this is a setting of your mail agent, you can try it in gmail agent. 


as to the e-mail template you can find it in the Languages section in the admin panel, just type a necessary keyword in the search

drstreet
drstreet Aug 22 '14
my problem is ! :( 


how to fix it ? :(

drstreet
drstreet Aug 23 '14
any response? where can i set the email sent file unicode to utf-8 ! 
Roman
Roman Aug 23 '14
I have the same problem. Programmers find a solution for this.
drstreet
drstreet Aug 23 '14
problem solved :) 


download the file and unzip , then upload the file into this address : 


ow_libraries/php_mailer




Good Luck :)

Attachments:
  class.phpmailer.zip (23Kb)
Roman
Roman Aug 23 '14

Quote from drstreet problem solved :) 


download the file and unzip , then upload the file into this address : 


ow_libraries/php_mailer




Good Luck :)

GOOOOOOOD!!!!!   Thanks /
Hybrid
Hybrid Aug 23 '14
A BIG (+1) for drstreet for finding the solution to this!


Oxwall development team, could you please make sure to use that file or change this one line/string for all upcoming releases?  That way we (users) do not have to manually change this each time a new oxwall version is released?


I think the entire community would appreciate that!


You do not necessarily need to download what drstreet provided, simply change this one string located:


ow_libraries/php_mailer/class.phpmailer.php


public $CharSet = 'iso-8859-1';


TO:

public $CharSet = 'utf-8';


It should be on line 56 I believe!


Thanks in Advance!

ross Team
ross Aug 25 '14
This issue has already been discussed


http://www.oxwall.org/forum/topic/21361?page=1#post-104688


please do not make changes in the default file of phpmailer



If you want to redefine the default charset you should add the following string

 $mailer->CharSet = "utf-8"; 

into the /ow_system_plugins/base/bol/mail_service.php file 

on line 123 before return $mailer; string.

Hybrid
Hybrid Aug 25 '14
I still have an old copy of the ow version 1.6.  In the class.phpmailer.php the public $CharSet = 'utf-8'.  Wouldn't it be simpler to keep it this way if this works?  It doesn't make sense to me to add that line $mailer->CharSet = "utf-8" in the mail_service.php file as it would either conflict with what is on the class.phpmailer.php in version 1.7 which this line was changed to public $CharSet = 'iso-8859-1' or would it simply override it?