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

    Language name

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

    Thanks

    enter image description here

  • Johannes Lantz 156 posts 840 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 27 posts 197 karma points
    Sep 19, 2022 @ 08:35
    Web Project
    0

    what do you mean?

    Guido

  • Corné Hoskam 81 posts 588 karma points MVP 3x 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 27 posts 197 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

  • 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