Saving Your Page with the Proper Encoding

At the beginning of this book, I said you had to save your Web pages as “text-only” documents, and made little mention of the encoding (see page 46). That’s because most of my readers create Web pages and style sheets in the same language as their operating system and because most text editors automatically save files with the default system encoding. You only need to manually choose the encoding as you save if your document contains characters that don’t belong to your system’s default character encoding.

To save your page with the proper encoding:

1.
When you go to save your document, choose the option for selecting an encoding. In BBEdit, it’s a button called Options. In Word, it’s called Encoded ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.