html - Asp.Net application not supporting Non-Ascii characters correctly -


my .net application unable process of non ascii characters '§' etc when reading html page question mark comes in place of that.i have mentioned

<globalization requestencoding="utf-8" responseencoding="utf-8"/> 

in web.config , saved files in utf-8 encoding still doesn't work.

what reason?please help

my guess you're missing tag in views:

<meta http-equiv="content-type" content="text/html; charset=utf-8"> 

it doesn't matter if save html pages correctly utf-8, need specify within html client browser needs render text content utf-8.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -