Accent

inspirats

New Member
YetiShare User
Wurlie User
Feb 6, 2014
23
0
1
Hello,

I have a problem with the translation into French. The French language has many accents like "é, à, ô, è" etc. ... When I translate for email users ... how to fix this bug?

thank you

Example of what users receive
Cher Test4,
Votre compte sur NAMEOFSITE a été créé.

Normally it should receive:
Cher Test4,
Votre compte sur NAMEOFSITE à été créer.
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Did you try changing this in _header.php

Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
to

Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
 

inspirats

New Member
YetiShare User
Wurlie User
Feb 6, 2014
23
0
1
I found the solution for e-mail.
We must go in includes / email_class
and open class.phpmailer.php

Change line 56:
Code:
  public $CharSet           = 'iso-8859-1';
You need:
Code:
  public $CharSet           = 'utf-8';
This is good for languages ​​with accents. I hope to help other people
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Thanks for the feedback. I've set this as standard for the next release, utf-8 covers most of the characters people use.