Unicode, DOT NET Programming

What is Unicode?

In order to understand the concept of Unicode we require  to move a little back and understand the ANSI code. The ASCII (ask key) stands for American Standard Code for Information Interchange. In the ASCII format every character is represented by one byte (i.e. 8 bits). So in brief we can have 256 characters (2^8). Before UNICODE came into picture the programmers used code page to represent characters in different languages. The Code page is a different interpretation of ASCII set. The Code pages keep 128 characters for English and the rest 128 characters are tailored for a specific language.

The pictorial representation of the same is shown below:

2468_Code page.png

Figure:- Code page in action

There are following demerits of the CODE page approach:-

(i)Some languages such as Chinese have more than 5000 characters that is difficult to represent only 128 character set.

(ii)Only 2 languages can be supported at one time. As said you can use only 128 for English and the rest 128 for the other language.

(iii)The end client must have the code page.

(iv)The Code Representation modify according to the Operating system and Language used.

(v)That means a character can be represented in different numbers depending on the operating system.

For all the above problems the UNICODE was introduced. The UNICODE represents characters with 2 bytes. Therefore if its two bytes that means 18 bits. You can now have 2^16 characters that is 65536 characters. That's a huge number you can include any language in the world. In further if you use surrogates you can have additional 1 million characters...Hmm that can involve type of language including historian characters.

The ASCII representation varied according to the operating system and language. But in the UNICODE it assigns a unique letter for every character irrespective of the Language or the operating system which makes programmers life much easier while developing international compatible applications.

Posted Date: 9/25/2012 3:05:50 AM | Location : United States







Related Discussions:- Unicode, Assignment Help, Ask Question on Unicode, Get Answer, Expert's Help, Unicode Discussions

Write discussion on Unicode
Your posts are moderated
Related Questions
What are abstract classes? The features of the abstract class are as follows:- 1.     You can not create an object of the abstract class. 2.     The Abstract class is des

Printing Triangles - C# Program I need program code for Printing Triangles in C#. Can anybody send me there ideas?

How can we use Culture Auto in project? We will make a very simple login screen which we will try to use for English as well as the Greek. The login screen will display Engl

Question: (a) How can you simple-bind controls at design mode? (b) How can a blank record be created in a dataset bound to the controls in a Windows form? (c) Datagrid

Question: (a) What is VB.NET 2005 and explain the versions of VB.NET. Name the four different types of applications that new version of VB.NET can create. (b) Using the

Mention different types of data providers available in .NET Framework. .NET Framework Data Provider for SQL Server - Give access to Microsoft SQL Server 7.0 or later version. I

What is DAR (Decision Analysis and Resolution)? The Decision Analysis and Resolution is to analyze possible decisions using a formal evaluation process that identifies alternat

First let me start by saying that I have been writing code for almost 25 years. So I am only looking for someone to assist advance a project I am working on. Someone that is unders


What is Language Integrated Query (LINQ)? LINQ is a programming model that is the composition of general-purpose standard query operators that permit you to work with data, reg