Relative Content

Tag Archive for asp.net-mvcasp.net-corecharacter-encodingspecial-characters

ASP.NET MVC – unwanted characters in user input

I am developing ASP.NET MVC application, which is basically information system. We have a problem, that users of the application sometimes copy something from the email or something else into a user input in the app and inside of the copied text might have been some unwanted characters. I have seen for instance byte-order mark (BOM) – U+FEFF or 0x00 char. These are characters that are not visible while copying.