Antixss encoding issue with french umlaut character

Oct 11, 2011 at 9:50 AM

Hi, I am using Antixss encoding with my multilingual site. We have french language support and if someone enters a french umlaut character.

for e.g. Français is changed to show Français

Can anyone guide me how to resolve this issue. Thanks in advance.



Oct 11, 2011 at 10:00 AM

How do you mean show? As in the browser shows the ampersand, then the hash then the numbers, or does it only appear in View Source?

If it's only in View Source then that's fine, &#231 ; and ç are equivalent.

If it's actually shown to the end user, in the page, then that sounds like a double encoding problem somewhere. I'd need to see the code where you output the results of encoding.

Oct 11, 2011 at 11:09 AM

Hi, Thanks for your quick reply.The characters were actually displayed on the page.

I notice now that its an issue of double encoding. It seems the text box is already encoding the input (for unwanted characters). So it seems that my issue will be resolved by removing the extra antixss encoding.