Problem with special characters in E-mail template
Hi Matt
I got errors while rendering special characters in an email via Tea Commerce order confirmation Template.
I tried to render characters like ü but the email i received contains ü
How can i solve this..?
What i did is cloned the existing email template in email confirmation and edited to new one, and specify this template to the German Culture.
The functionality works but the special character found incorrect.
Are you able to check whether your template files are saved as UTF-8 with BOM? It could be that it's not saved in the right format and so the characters are being converted
Hi Matt
I'm afraid i cant check the format of email template files as they are in Umbrao Cloud.
I've tried adding the code in layout <meta http-equiv="Content-Type" content="text/html charset=UTF-8" />
Yea, I don't think that will help if the file isn't itself UTF-8 encoded. I could really do with knowing before looking into other options. It may be worth starting a support chat with Umbraco in the Umbraco Cloud portal to see if they could check for you.
Problem with special characters in E-mail template
Hi Matt I got errors while rendering special characters in an email via Tea Commerce order confirmation Template.
I tried to render characters like
ü
but the email i received containsü
How can i solve this..?
Hi Arun,
Can you provide and example of your template (or just a part that includes the special characters?).
Hi Matt
This is the screenshot of the mail i got
The text given in its corresponding template was " Stückpreis "
Hmm, I'll need to give that a test as I'm not sure why it would be doing that.
My immediate thought as a potential workaround is could you HTML encode the special characters and see if that works
Matt
What i did is cloned the existing email template in email confirmation and edited to new one, and specify this template to the German Culture. The functionality works but the special character found incorrect.
Hi Matt, Is there any update ?
Hi Arun,
Sorry, I thought you were going away to try using encoded special characters
ü
to see if that worked?Matt
Yes Matt
I got
ü
whenü
is given in email template.So what should i do to get all the special characters rendered.?
Hmm,
Are you able to check whether your template files are saved as UTF-8 with BOM? It could be that it's not saved in the right format and so the characters are being converted
Matt
Some more details on what I think is the problem https://stackoverflow.com/questions/11516567/razor-view-character-rendered-as-%C3%82
Hi Matt I'm afraid i cant check the format of email template files as they are in Umbrao Cloud. I've tried adding the code in layout
<meta http-equiv="Content-Type" content="text/html charset=UTF-8" />
But doesnt makes any change
Hi Arun
Yea, I don't think that will help if the file isn't itself UTF-8 encoded. I could really do with knowing before looking into other options. It may be worth starting a support chat with Umbraco in the Umbraco Cloud portal to see if they could check for you.
Matt
is working on a reply...