Could anyone tell me where there is information regarding character code
'usage' that is simple.  I always use UTF-8 and, e.g., if I want to put
a left quote in my text I can use " or “  Which is
recommended?
...
One of the main points of using Unicode is that you don't need to use
entities, other than for a handful of chars used by HTML.


Yes! Using UTF-8 in your web pages means NOT having to use HTML entities for text such as &#241; or &ecirc;. The only HTML entities you need to use in your character data are &amp; for '&' ampersand, &lt; for '<' less-than, and &gt; for '>' greater-than so that those characters don't confuse the HTML parser.

To get you started, two basic rules are:

1) Save your HTML/PHP files with UTF-8 character encoding. In many text editors there's a character encoding option in the Save As dialog.

2) Declare UTF-8 as the character encoding in the HTML header, e.g.:

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

(XHTML has different character set declarations than HTML.)

For more details see Richard Ishida's W3C Internationalization pages at http://www.w3.org/International/

Regards,

Paul
__________________________

Paul Novitski
Juniper Webcraft Ltd.
http://juniperwebcraft.com


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to