I’m having an issue when a user creates an account in french. The auto email that sent to the new account doesn’t display the french characters correctly. I have the french language pack running in the system, I also have the locale set to fr_CA.UTF-8,fr_FR.UTF-8,fr_CA,fr_FR,fr-fr,french.
As an example, I have the following text in english:
Your account has now been created and you can
And when I create an account in french, this is the email I receive:
Votre compte a été créé, vous pouvez
When, what I really need to see is:
Votre compte a été créé et vous pouvez
Can anyone help me out? I’ve tried checking the mail.php file, and it’s set to utf-8, and since the customer.php file, is, well, php…. it won’t accept french accented characters.
|
|
Are you saving the file in UTF with BOM?
|
|
Yes, I use TextWrangler and I saved as “UTF-8 with BOM”… still nothing. I’ve tested all emails being sent from OC that are in french, and it seems to occur throughout all of them.
Just so we are clear, it’s correct that I keep the html code of the accented characters in it’s current form and to NOT copy and paste the french text as-is into the php file… correct?
-
This reply was modified 2901 days ago by puckmugger.
|
|
Can anyone help me with this issue? Is there any php file I should be looking into to locate where this is coming from? Any help would be greatly appreciated!
|
|
Hi,
UTF-8 without BOM is the correct encoding, but this might not be the problem.
Unfortunately, this problem is OpenCart and not theme related and we cannot help you much here. There is a topic that discuss the same issue (it is a bit old); hope it can be some start point:
http://forum.opencart.com/viewtopic.php?f=20&t=43456
BR,
ThemeBurn team
|
|