What should be used and when? or is it always better to use UTF-8? or ISO-8859-1, still relevant in specific conditions?
Is the character set associated with a geographical area?
Edit:
Is there any benefit to this @charset "utf-8"; code @charset "utf-8";
or like this <link type="text/css; charset=utf-8" rel="stylesheet" href=".." />
at the top of the CSS file?
I found for this
If DreamWeaver adds a tag when you add an inline style to a document, this is a bug in DreamWeaver. From the W3C Frequently Asked Questions:
"For style declarations embedded in a document, @charset rules are not necessary and should not be used."
The encoding specification is part of CSS since version 2.0 (May 1998), so if you have an encoding specification in a CSS file and Safari cannot handle it, that error is in Safari.
and add accept-charset in the form
<form action="/action" method="post" accept-charset="utf-8">
and what should i use if i use xhtml doctype
<?xml version="1.0" encoding="UTF-8"?>
or
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
css xhtml unicode utf
Jitendra Vyas Dec 12 '09 at 16:43 2009-12-12 16:43
source share