Save this example in Notepad as test16.htm with encoding UTF-16 LE:
Code: Select all
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-16" />
</head>
<body>
<p>This is a test example in UTF-16 encoding.</p>
</body>
</html>
2. Selection of Unicode, which means UTF-16, in the menu shows full text with all tags.
3. Selection of HTML shows the example without tags, but again as UTF-8 in the menu.
Suggestion: UTF-16 files should be shown as Unicode in the menu, with or without the HTML/XML tags.