I have a winForm application that generates an .aspx file based on the user input in the application. The problem happens when a user enters the French letters like ‘é’, ‘à’, ‘è’, ‘â’, ‘ù’, ‘ô’, ‘ê’ and ‘ç’. It is supposed to look like a simple text on the page but it doesn’t. Any ideas?
Share
Assuming you want the characters to be displayed with the accents, circumflexes, etc. try the following:
Add the following to the
<head>of each (generated) page:Make sure that the .aspx files themselves are saved as UTF-8 files.
Note: I’m assuming here that an .aspx file is somewhat similar to a .jsp file. If that assumption is false, you should probably ignore this advice.