Changes

Jump to navigation Jump to search
145 bytes added ,  02:08, February 24, 2009
Clarification and encyclopaedic enhancement
Line 1: Line 1:  
The '''UTF-8''' standard is a way of encoding [[Unicode]] characters, invented in a single evening by two computer programmers in New Jersey. [http://www.cl.cam.ac.uk/~mgk25/ucs/utf-8-history.txt UTF-8 history]
 
The '''UTF-8''' standard is a way of encoding [[Unicode]] characters, invented in a single evening by two computer programmers in New Jersey. [http://www.cl.cam.ac.uk/~mgk25/ucs/utf-8-history.txt UTF-8 history]
Each character is formatted into 8-bit bytes, with simple [[ASCII]] characters requiring only one byte, and more complex character sets taking up to 6 bytes. The idea is to pack as many bits as possible into each byte, while also indicating how many (more) bytes are needed to complete the encoding.  
+
Each character is formatted into 8-bit bytes, with simple [[ASCII]] characters requiring only one byte, and more complex character sets taking up to 6 bytes. The principle of the UTF-8 standard is to represent as wide a range of characters as possible with a single byte, while also indicating how many (more) bytes are needed to complete the encoding.  
   −
Each byte sequence starts with a byte whose initial bits indicates how many total bytes it takes to encode the character. If the initial bit is 0, then it's a 7-bit ASCII character which fits in one byte. Nearly all text written in American English will fit in this encoding. [http://www.joelonsoftware.com/pictures/unicode/utf8.png (picture)]
+
Each byte sequence starts with a byte whose initial bits indicates how many total bytes it takes to encode the character. If the initial bit is 0, then the byte represents a 7-bit ASCII character which fits in one byte. Thus, any one of 2<sup>7</sup>, or 128, ASCII characters may be represented. Nearly all text written in American English will fit in this encoding. [http://www.joelonsoftware.com/pictures/unicode/utf8.png (picture)]
    
==External links==
 
==External links==
 
*[http://www.utf-8.com/ UTF-8 and Unicode Standards]
 
*[http://www.utf-8.com/ UTF-8 and Unicode Standards]
 
[[Category:Information technology]]
 
[[Category:Information technology]]
90

edits

Navigation menu