Html encoding of accented characters in file names

4 posts, 0 answers
  1. Cameron
    Cameron avatar
    28 posts
    Member since:
    Oct 2011

    Posted 02 Mar 2012 Link to this post

    Hello,

    When someone is using the Rad Editor and tries to add a link to a file whose name includes accented characters, the url gets html encoded.

    I used the ASP.NET Editor Demo on your website and used the Upload File dialog of the Rad Editor to upload a PDF whose name included accented characters - çemplatés 2.pdf. I then used the same dialog to add a link to the editor to the file. It came out as this:
    <a href="/aspnet-ajax/Editor/Img/UserDir/Marketing/&ccedil;emplat&eacute;s 2.pdf" target="_blank">

    My question is why is the file name being html encoded? Shouldn't it be url encoded instead or not encoded at all?

    And is there a way to prevent it from being html encoded?

    Thanks,
    Cameron


  2. Rumen
    Admin
    Rumen avatar
    14351 posts

    Posted 05 Mar 2012 Link to this post

    Hi,

    For some reason your message is incomplete. Could you please edit it so that I can provide an appropriate suggestion?

    Regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Cameron
    Cameron avatar
    28 posts
    Member since:
    Oct 2011

    Posted 13 Mar 2012 Link to this post

    Hi,

    I have updated my post a week ago, but have not yet heard anything back yet.

    Any suggestions?

    Thanks,
    Cameron D
  4. Rumen
    Admin
    Rumen avatar
    14351 posts

    Posted 16 Mar 2012 Link to this post

    Hi Cameron,

    Could you please disable the ConvertCharactersToEntities content filter of RadEditor and test your scenario again?

    Greetings,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top