Copied to clipboard

Flag this post as spam?

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


  • Arun 103 posts 274 karma points
    Jan 28, 2020 @ 11:39
    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 2958 posts 15629 karma points MVP 7x c-trib
    Jan 28, 2020 @ 12:11
    Matt Brailsford
    0

    Hi Arun,

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

  • Arun 103 posts 274 karma points
    Jan 28, 2020 @ 12:36
    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 2958 posts 15629 karma points MVP 7x c-trib
    Jan 28, 2020 @ 13:07
    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 103 posts 274 karma points
    Jan 28, 2020 @ 13:23
    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 103 posts 274 karma points
    Jan 29, 2020 @ 12:11
    Arun
    0

    Hi Matt, Is there any update ?

  • Matt Brailsford 2958 posts 15629 karma points MVP 7x c-trib
    Jan 29, 2020 @ 13:03
    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 103 posts 274 karma points
    Jan 29, 2020 @ 14:03
    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 2958 posts 15629 karma points MVP 7x c-trib
    Jan 29, 2020 @ 14:15
    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 2958 posts 15629 karma points MVP 7x c-trib
    Jan 29, 2020 @ 14:17
  • Arun 103 posts 274 karma points
    Jan 29, 2020 @ 14:47
    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 2958 posts 15629 karma points MVP 7x c-trib
    Jan 29, 2020 @ 14:55
    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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies