Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Arun 37 posts 107 karma points
    24 days ago
    Arun
    0

    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..?

  • Matt Brailsford 2363 posts 11453 karma points MVP 6x c-trib
    24 days ago
    Matt Brailsford
    0

    Hi Arun,

    Can you provide and example of your template (or just a part that includes the special characters?).

  • Arun 37 posts 107 karma points
    24 days ago
    Arun
    0

    Hi Matt

    This is the screenshot of the mail i got

    enter image description here

    The text given in its corresponding template was " Stückpreis "

  • Matt Brailsford 2363 posts 11453 karma points MVP 6x c-trib
    24 days ago
    Matt Brailsford
    0

    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

  • Arun 37 posts 107 karma points
    24 days ago
    Arun
    0

    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.

  • Arun 37 posts 107 karma points
    23 days ago
    Arun
    0

    Hi Matt, Is there any update ?

  • Matt Brailsford 2363 posts 11453 karma points MVP 6x c-trib
    23 days ago
    Matt Brailsford
    0

    Hi Arun,

    Sorry, I thought you were going away to try using encoded special characters ü to see if that worked?

    Matt

  • Arun 37 posts 107 karma points
    23 days ago
    Arun
    0

    Yes Matt
    I got ü when ü is given in email template.
    So what should i do to get all the special characters rendered.?

  • Matt Brailsford 2363 posts 11453 karma points MVP 6x c-trib
    23 days ago
    Matt Brailsford
    0

    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

  • Matt Brailsford 2363 posts 11453 karma points MVP 6x c-trib
    23 days ago
  • Arun 37 posts 107 karma points
    23 days ago
    Arun
    0

    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

  • Matt Brailsford 2363 posts 11453 karma points MVP 6x c-trib
    23 days ago
    Matt Brailsford
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft