Reputation: 5031
i have a html file which has special character 'Démonstration'. when i can checked the file in text editor, it shows correctly, but when i open the html file in chrome, it becomes 'Demonstration'. I've set the charset to 'UTF-8' as shown below:
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
why it still wont' work?
Alsow tried in Firefox and Safari, it won't show up correctly. is it something wrong with the file?
Upvotes: 2
Views: 726
Reputation: 154
If you're using windows, you can hit the run command and type "charmap". And then copy the special character you want. The character é is under the Haettenschweiler font. Then paste it in your markup. Tested in Chrome.
Upvotes: 1
Reputation: 1714
Try replacing the é with é
You can view the html codes for special characters here http://www.starr.net/is/type/htmlcodes.html
Upvotes: 1