Re: UTF-8 code in HTML

From: G. Adam Stanislav (
Date: Tue Apr 11 2000 - 21:48:25 EDT

At 15:05 11-04-2000 -0800, Jonathan Coxhead wrote:
> Don't we need some conventional file extensions for both plain
>text and H T M L encoded in U T F 8, U T F 16, etc? E g
> ".utf" => text/plain; charset = utf-8
> ".uni" => text/plain; charset = utf-16
> ".utfml" => text/html; charset = utf-8
> ".uniml" => text/html; charset = utf-16
>(So the server really can serve the pages with "no magic"!)
> Why don't we see this kind of thing on the web at the moment? Am I
>just confused?

On an apache server, you can set it yourself in the .htaccess file. If I
understand it correctly, all you need to do is enter the following lines in
the said file:

AddType text/html utfml
AddCharSet UTF-8 utfml

Or, for that matter,

AddCharSet UTF-8 html


"I think, therefore I am."
                    - Seventeenth Century Philosophy

"I publish what I think, therefore I have."
                    - Twenty-First Century Action

Details at

This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:01 EDT