Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is Unicode and why was it introduced
What is Unicode and why was it introduced?
✍: Guest
In order to understand the concept of Unicode we need to move little back and understand
ANSI code. ASCII (ask key) stands for American Standard Code for Information
Interchange. In ASCII format every character is represented by one byte (i.e. 8 bits). So in
short we can have 256 characters (2^8). Before UNICODE came in to picture programmers
used code page to represent characters in different languages. Code page is a different
interpretation of ASCII set. Code pages keep 128 characters for English and the rest 128
characters are tailored for a specific language.
Below is a pictorial representation of the same.
There are following disadvantages of the CODE page approach:
Some languages like Chinese have more than 5000 characters which is difficult to
represent only 128 character set.
Only two languages can be supported at one time. As said in the previous note you
can use 128 for English and the rest 128 for the other language.
The end client should have the code page.
Code Representation change according to Operating system and Language used.
That means a character can be represented in different numbers depending on
operating system.
For all the above problems UNICODE was introduced. UNICODE represents characters
with 2 bytes. So if its two bytes that means 18 bits. You can now have 2^16 characters i.e.
65536 characters. That's a huge number you can include any language in the world. Further
if you use surrogates you can have additional 1 million characters...Hmm that can include
type of language including historian characters.
ASCII representation varied according to operating system and language. But in
UNICODE it assigns a unique letter for every character irrespective of Language or
operating system which makes programmers life much easier while developing international
compatible applications.
2007-11-01, 5009👍, 0💬
Popular Posts:
Can you explain Forms authentication in detail ? In old ASP if you where said to create a login page...
Can each Java object keep track of all the threads that want to exclusively access to it?
How To Enter Numeric Values as HEX Numbers? - MySQL FAQs - Introduction to SQL Basics If you want to...
How do I use forms? The basic syntax for a form is: <FORM ACTION="[URL]">...&l t;/FORM>Wh...
How To Create an Add-to-NewsGator Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS News...