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 24 posts 174 karma points
    Sep 16, 2022 @ 17:05
    Web Project
    0

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

    Thanks

    enter image description here

  • Johannes Lantz 156 posts 838 karma points c-trib
    Sep 17, 2022 @ 10:09
    Johannes Lantz
    0

    Hey!

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

    //Johannes

  • Web Project 24 posts 174 karma points
    Sep 19, 2022 @ 08:35
    Web Project
    0

    what do you mean?

    Guido

  • Corné Hoskam 80 posts 587 karma points MVP 2x c-trib
    Sep 20, 2022 @ 11:24
    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 24 posts 174 karma points
    Sep 20, 2022 @ 14:45
    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