This is a migrated thread and some comments may be shown as answers.

Html encoding of accented characters in file names

3 Answers 254 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Cameron
Top achievements
Rank 1
Cameron asked on 03 Mar 2012, 12:34 AM
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


3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 05 Mar 2012, 10:41 AM
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.
0
Cameron
Top achievements
Rank 1
answered on 13 Mar 2012, 07:38 PM
Hi,

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

Any suggestions?

Thanks,
Cameron D
0
Rumen
Telerik team
answered on 16 Mar 2012, 12:06 PM
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.
Tags
Editor
Asked by
Cameron
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Cameron
Top achievements
Rank 1
Share this question
or