Error translating email responders with french accents

ThemeBurn SupportForumsOpenCart ThemesBurnEngineError translating email responders with french accents

This topic has been marked as not a support question.

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.

April 19, 2016 at 8:53 am #46682

Are you saving the file in UTF with BOM?

 evilfx
April 19, 2016 at 11:44 am #46689

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 2928 days ago by  puckmugger.
April 19, 2016 at 5:10 pm #46699

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!

April 20, 2016 at 5:21 pm #46725

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

April 21, 2016 at 5:23 pm #46748
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.