@charset rule

Giganews Newsgroups
Subject: @charset rule
Posted by:  François_Patte
Date: Sat, 06 Oct 2007


I am wondering why the @charset rule is not working for me.

I put at the early beginning of my index.css file:

@charset "utf-8";

no line before....

and in every html file:

<link rel="STYLESHEET" href="index.css">

Everything is OK for all style definitions made in the index.css
(background, fonts style, size, and so on....

Only the charset definition is not working.... Browsers always return

If I add this line in html files:

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >

it works....


What's wrong?

Thank you

François Patte
Université Paris 5 - Paris