Textkit Logo

How to link to a Unicode web page?

Here you can discuss all things Ancient Greek. Use this board to ask questions about grammar, discuss learning strategies, get help with a difficult passage of Greek, and more.

Postby edonnelly » Sat Jan 26, 2008 2:50 pm

I don't know the exact answer, but I think the problem is that it is a .txt file and doesn't tell browsers which text coding system to use. When I first looked at it with firefox (in linux) it was all garbage. I went to view->character encoding and saw that it was defaulting to 'Western ISO-8859-1' which is what most non-unicode pages show up for me. I then switched to 'utf-8' which is what most unicode pages show for me, but it was still garbage. I then switched to 'utf-16' which I don't think I had ever heard of before, but it displayed perfectly.

Maybe if you change the extension to .html and add the following, it will work better by default:

Code: Select all
<head>
<META http-equiv=Content-Type content="text/html; charset=utf-16">
</head>
<body>

** Everything from the current file here

</body>
The lists:
G'Oogle and the Internet Pharrchive - 1100 or so free Latin and Greek books.
DownLOEBables - Free books from the Loeb Classical Library
User avatar
edonnelly
Administrator
 
Posts: 988
Joined: Sun Jan 16, 2005 2:47 am
Location: Music City, USA

Return to Learning Greek