Copied to clipboard

Flag this post as spam?

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


  • Web Project 22 posts 162 karma points
    1 week ago
    Web Project
    0

    Hi, how can I rename or correct the text Francaise?

    Thanks

    enter image description here

  • Johannes Lantz 129 posts 657 karma points c-trib
    1 week ago
    Johannes Lantz
    0

    Hey!

    I believe you could wrap it in @Html.Raw() to correct it

    //Johannes

  • Web Project 22 posts 162 karma points
    1 week ago
    Web Project
    0

    what do you mean?

    Guido

  • Corné Hoskam 66 posts 546 karma points MVP c-trib
    1 week ago
    Corné Hoskam
    100

    Hi Guido,

    What Johannes means is that wrapping the piece of code that outputs the "Français" text, in an @Html.Raw("Français") code snippet should prevent the improper encoding of the HTML, if the string that you're rendering is actually "Français" and not "Fran& #231;ais".

    Could you let me/us know if your issue is the rendering of the string, or the actual converting of the html characters to their respective characters?

    Kind regards,

    Corné

  • Web Project 22 posts 162 karma points
    1 week ago
    Web Project
    0

    Hi, I do not know where to change this string. my problem is the rendering of the string.

    thanks Guido

Please Sign in or register to post replies

Write your reply to:

Draft