0% found this document useful (0 votes)
41 views

1.12 Introduction of Unicode System in Java

The document discusses Unicode in Java, explaining that Unicode is a universal international encoding standard used by Java to represent the world's written languages. It addresses that other languages used ASCII which caused problems, while Unicode solves these by using two bytes for each character.

Uploaded by

harendra tomar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

1.12 Introduction of Unicode System in Java

The document discusses Unicode in Java, explaining that Unicode is a universal international encoding standard used by Java to represent the world's written languages. It addresses that other languages used ASCII which caused problems, while Unicode solves these by using two bytes for each character.

Uploaded by

harendra tomar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Introduction Of Unicode System In Java

Introduction:

In this article, you will learn about UNICODE system and why we use UNICODE in Java.

What is UNICODE in Java?

Unicode is a Universal international standard encoding. It is a new language standard. This is efficient of
representing most of the world’s written languages.

Many other language use ASCII code system but Java uses UNICODE system.

Many other language standards caused two problems that are:

1) Particular code value corresponds to the different letters in the various language standards.
2) The encoding for the languages with the large character sets have a variable length. Some
common characters are encoded as single bytes, other requires two or more byte.

Unicode solve the two problems due to which Java uses Unicode system.

In Unicode, character holds 2 byte due to which Java also uses 2 byte for the characters.

Its lowest value is - \u0000 and

Highest value is - \uFFFF.

Summary

Thus, we learnt UNICODE is a Universal international standard encoding and also learnt in Unicode,
Character hold 2 bytes due to which Java also uses 2 byte for the characters.

You might also like