The only thing that changes in the template is "/plain" "/html"
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2008-09-02 11:48
You're not changing the correct template file then, otherwise the changes show up instantly. Make sure you don't have one in a /local/ directory, or if you do then make sure to change that one.
bchantre
Joined: 2005-11-16
Posts: 55
Posted: Tue, 2008-09-02 13:04
It works
I was again editing the wrong file...
Thank you very much for your help
babuji
Joined: 2008-09-02
Posts: 1
Posted: Tue, 2008-09-02 13:14
Hi bro,
It's only a test. Don't mind.
Thanks
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2008-09-02 14:29
Quote:
It works
What's the solution?
bchantre
Joined: 2005-11-16
Posts: 55
Posted: Tue, 2008-09-02 14:38
Just change
Content-Type: text/plain; utf-8
by
Content-Type: text/plain; charset=utf-8
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2008-09-02 14:42
Thanks - I'll make those changes in the distribution.
Posts: 4342
Actually I'm pretty sure it's already set to UTF-8. I'll have a look later though.
Posts: 55
Yes, but for HTML only.
Posts: 4342
Hi Benoit,
This is what I get:
It's set in the four templates in checkout/templates/email - confirm.tpl, paid.tpl, complete.tpl and notify.tpl - look for
--{$boundary} Content-Type: text/plain; utf-8 Content-Transfer-Encoding: 8bitDo you want to investigate why it's coming out wrong in your installation and let me know?
Posts: 55
Hi Alec,
Here's what I have in confirm.tpl, paid.tpl and notify.tpl
--{$boundary} {assign var=rendering value='text'} Content-Type: text/plain; utf-8 Content-Transfer-Encoding: 8bitThe only difference is in notify.tpl where the line below is not present
{assign var=rendering value='text'}Yes, would like to investigate but I have no idea where to search the problem. If you have suggestions...
What I see different between text/plain and text/html is the mention "charset="
--{$boundary} Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bitPosts: 55
Unfortunately, that doesn't change anything, I always have the same output in the email:
----
Update: I had edited the wrong file... (in another subdomain)
Now I have that in the source of the e-mail
This should work, but it always displays strange characters in my webmail instead of accents.
I'll try with another webmail to see if it comes from that.
Posts: 4342
Did you try setting "charset=UTF-8" in your template instead?
Posts: 55
Yes, I have now in confirm.tpl
and I tried with
but both return the same in the e-mail
I don't understand why I don't have "charset=" in the e-mail
text/html in confirm.tpl
--{$boundary} Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> {assign var=rendering value='html'} ...text/html part in e-mail source
text/plain in confirm.tpl
--{$boundary} {assign var=rendering value='text'} Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit ...text/plain part in e-mail source
The only thing that changes in the template is "/plain" "/html"
Posts: 4342
You're not changing the correct template file then, otherwise the changes show up instantly. Make sure you don't have one in a /local/ directory, or if you do then make sure to change that one.
Posts: 55
It works
I was again editing the wrong file...
Thank you very much for your help
Posts: 1
Hi bro,
It's only a test. Don't mind.
Thanks
Posts: 4342
What's the solution?
Posts: 55
Just change
by
Posts: 4342
Thanks - I'll make those changes in the distribution.