Introducing Character Sets and Encodings (character set and code)

xiaoxiao2021-04-09  309

ON this page: What? - cho - choings - escapes - Web Addresses - Validating & Troubleshooting

.

This page introduces you to key internationalization topics and tasks, and directs you towards articles or resources that will take you on the next step of your journey. After reading these resources, you can find more detailed information using the topic index.

This page is not yet stable, and has not gone through wide review. It will be added to and improved over time. Please send comments to the www-tencel.

What is it? (What is a character set and encoded)

A character set is a collection of letters and symbols used in a writing system, eg. The ASCII character set covers letters and symbols for English text, ISO-8859-6 covers letters and symbols needed for many languages ​​based on the Arabic script, and Unicode Contains Characters for Most of The Living Languages ​​and Scripts in The World.

The character set is a collection of characters and symbols in writing systems. For example, the ASCII character set includes letters and symbols in English, ISO-8859-6 includes many Arabic language-based characters and symbols, Unicode includes most of the world's available characters.

Characters in a character set are stored as one or more bytes in a computer. Each byte or sequence of bytes represents a given character. A character encoding is the key that maps a particular byte or sequence of bytes to particular characters that the font renders as TEXT.

The characters in the character set in the computer are stored in one or two bytes. Each byte or byte sequence represents a given character. Character encoding is mapped a specific byte or byte sequence to the character, where the character can be manifestably formed by the corresponding font.

There are many different character encodings. If the wrong encoding is applied to the bytes in memory, the result will be unintelligible text. It is therefore important that the character encoding used for content is correctly labelled if you want people to be able to read it There are many different character encodings. If you apply the wrong encoding to the byte in the content, "garbled" will appear. Therefore, if you want others to read your text content, it is important to use the correct character code.

Essent, Character Sets, Coded Character Sets, THE Document Character Set, And Character Escapes.

Choosing an encoding (select code)

Everyone developing content, whether content authors or programmers, must decide what character encoding to use. UTF-8 is a popular recommendation these days, but there may still be things you should consider before using it.

Each development content, whether he is the author of the content or programmer, you must decide which character code. Today, UTF-8 is a recommended coding format, but there must be some things worth consideration before you use it.

.

v Upgrading from language-specifici, encoding. What you shop pages from legacy encoding to a unicode encoding.

Using an encoding (using code)

ONCE IT HAS BEEN DECIDED What Encoding to Use, Content Developers and Programmers Must Ensure That Is Declared in The Right Way.

Once the code is determined, the content developer and programmer must ensure that it can be declared correctly.

V Character Sets & Encodings in XHTML, HTML AND CSS. How to Declare Encodings in these Languages.

V CSS Character Encoding Declarations. How to Declare Encoding In CSS STYLE Sheets.

WITH A Technology Such As Xhtml, Encoding Declarations Are Not Always StraightForward; The Require An Understanding of 'Standards' vs. 'Quirks' MODES, AND THE IMPACT OF THE XML Declaration.

Technologies like XHTML, coding declarations are not always clear; we need to understand the differences between standard models and non-standard modes, and understand the influence of XML declarations. V Serving Xhtml 1.0. How do xhtml & mime type, 'standards' vs 'quirks' modes, and the xml declaration inflow encoding declarations?

You Must Also Ensure That your data is saved in The Encoding You Have Chosen, IT IS Not Sufficient To Just Label IT.

You must also make sure your data is stored in the encoded format you selected.

...................

V Changing (x) html page encoding to utf-8. How to change the encoding of my (x) HTML Pages To UTF-8.

Content Developers and Webmaster MAY Also Need To Ensure That The Server Delivers Content with the Correct Character Encoding Declarations.

Content developers and webmasters also need to ensure that the server passes the data content according to the declared character.

V The http charset parameter. How to send encoding information in the http header.

V setting 'Charset' Information in .htaccess. How to use .htaccess Directives On An Apache Server To Serve Files with a specific eNCoding.

Escapes (escape)

Escapes are a way of representing a character using only ASCII text. They provide a way of representing characters that are not available in the character encoding you are using, or a way of avoiding the use of the character for other reasons (such as when they May Conflict with syntax. You Should Be Clear On When and how these escapes shouth be used.

Side is a way to use only ASCII text performance characters. They provide a method of characters that cannot be used in character encoding, or to avoid using characters (such as syntax conflicts) for some reason. You should know how to use the escape for it.

V Using Character Entities and NCRS. What Are Character Entities and NCRs, and WHEN To Use THEM.

Web Addresses (web address)

These days Web addresses can also include non-ASCII characters. The user does little other than click on the appropriate link or enter the text as they see it, the heavy lifting is done by the user agent, but you may be interested to know how This Works. The web address can also contain non-ASCII characters. Users simply click on the appropriate link or type the text they want to see, but the other is done by the agent, but you may be interested in the working principle.

转载请注明原文地址:https://www.9cbs.com/read-132998.html

New Post(0)