Explain unicode in java, JAVA Programming

Assignment Help:

Explain unicode in java?

Java uses the Unicode character set. It is a two-byte character code set which has characters representing almost overall characters in almost all human alphabets and writing systems around the world involving Arabic, English, Chinese and more.

Unfortunately several operating systems and web browsers do not handle Unicode. For the most elements Java will properly handle the input of non-Unicode characters. The first 128 characters in the Unicode character set are identical to the general ASCII character set. The second 128 characters are identical to the upper 128 characters of the ISO Latin-1 extended ASCII character set. It's the further 65,280 characters in which present problems.

You can refer to a particular Unicode character through using the escape sequence \u followed through a four digit hexadecimal number. For instance

\u00A9

 

?

 

The copyright symbol

\u0022

 

"

 

The double quote

\u00BD

 

?

 

The fraction 1/2

\u0394

 

Δ

 

The capital Greek letter delta

\u00F8

 

?>

 

A little o with a slash through it

You can even use the full Unicode character sequence to name your variables. Therefore chances are your text editor doesn't handle more than basic ASCII extremally well. You can use Unicode escape sequences instead such as this

String Mj\u00F8lner = "Hammer of Thor";

but frankly this is way more trouble than it's worth.


Related Discussions:- Explain unicode in java

Program with fibonacci sequence of first 20 terms, Program 1. Write a J...

Program 1. Write a Java program to display the first 20 Fibonacci numbers Program with Fibonacci sequence of first 20 terms Output 2. Write an applet progr

Explain the three benefits of access protection, Explain the Three Benefits...

Explain the Three Benefits of Access Protection ? Access protection has three major benefits: 1. It permits you to enforce constraints on an object's state. 2. It gives a si

What are the benefits of spring framework, The benefits of Spring are as fo...

The benefits of Spring are as follows: ? Spring has layered architecture. Use what you require and leave you don't require now. ? Spring Enables POJO Programming. There is no

Explain about the interpreter in java, Machines should have Java interprete...

Machines should have Java interpreter for the Java byte code to get implemented. Linking is a very simple process and this feature helps while developing applications. Java compile

Bluej, how to write a program to assign value of variable age and print if ...

how to write a program to assign value of variable age and print if person is major.

Project, online shopping project

online shopping project

How many bits are used to show unicode and ascii, How many bits are used to...

How many bits are used to show Unicode, ASCII, UTF-16, and UTF-8 characters? Unicode requires 16 bits and ASCII require 7 bits although the ASCII character set uses only 7 bits

Carbon Footprint Applications, 10.13 (CarbonFootprint Interface: Polymorphi...

10.13 (CarbonFootprint Interface: Polymorphism) Using interfaces, as you learned in this chapter, you can specify similar behaviors for possibly disparate classes. Governments and

What are the core classes of the struts framework, Struts is a set of coope...

Struts is a set of cooperating classes, servlets, and JSP tags that make up a reusable MVC 2 design. ? JavaBeans components for managing application state and behavior. ? Eve

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd