Understanding document encoding

Understanding document encoding

Document encoding specifies the encoding used for characters in the document. Document encoding is specified in a meta tag in the head of the document; it tells the browser and Dreamweaver how the document should be decoded and what fonts should be used to display the decoded text.

For example, if you specify Western European (Latin1), this meta tag is inserted: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">. Dreamweaver displays the document using the fonts you specify in Fonts Preferences for the Western European (Latin1) encoding; a browser displays the document using the fonts the browser user specifies for the Western European (Latin1) encoding.

If you specify Japanese (Shift JIS), this meta tag is inserted: <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">. Dreamweaver displays the document using the fonts you specify for the Japanese encodings; a browser displays the document using the fonts the browser user specifies for the Japanese encodings.

To change document encoding for a page, see Setting page properties. To change the default encoding that Dreamweaver uses to create new documents, see Setting a default new document type. To change the fonts that Dreamweaver uses to display each encoding, see Setting Fonts preferences for Dreamweaver display.



Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Inserting and Formatting Text
Adding Audio, Video, and Interactive Elements
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly