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
Develop Targin protocol Project Description: We need to construct services in C# or VB.NET that will manipulate with a Targin TIP Protocol Server (protocol for financial info

Need Experienced Outlook (Microsoft Office) developer Your required skills: (1) A developer at heart, one that knows how to prepare modular, well-designed and clean code, (2) va

Project Description: We are seeking Mobile game developer for long time our budget is per project Skills required: Mobile Phone, .NET

As its name suggests, the website builder must be a desktop application that will allow users to simply create websites. Essentially, the program will have to give the users with a

How to get Herarichal Data in Treeview control from sql server database in asp.net , can you provide the source code .

What is an activity? In Windows Workflow Foundation 4.0, an activity is the basic unit of composition and implementation of a workflow. Each activity in a workflow consists of

C# Programming 1. What is .Net Framework? 2. Write short notes on constructors and destructors. 3. Explain boxing and unboxing with examples. 4. What is a mixed mode a

what is Entity-relationship diagram for e-resource planner software

How to Creating a Key Pair ? You can create a key pair using the Strong Name tool (Sn.exe). Key pair files usually have an .snk extension. To create a key pair At the comman

Who is a stakeholder? The stakeholder is anyone who has something to gain or lose as a result of the completion or failure of the project or phase. The stakeholder is not on