Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 819 Page Views: 

How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters?



Posted By: Avi Date: 9 November 2010 07:50:48 AM
 Answer:

Unicode requires 16 bits and ASCII require 7 bits, UTF-8 represents characters using 8, 16, and 18 bit patterns. UTF-16 uses 16-bit and larger bit patterns.


Posted By: avibtech


Date: 9 November 2010 07:50:48 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image GeM1Uh
Related Questions
Core Java : Can an unreachable object become reachable again?

Can an unreachable object become reachable again?

An unreachable object may become reachable again. This can happen when the object's finalize() metho....
Category: Core Java Date: 11/3/2010 4:37:55 AM
Core Java : To what value is a variable of the boolean type automatically initialized?

To what value is a variable of the boolean type automatically initialized?

The default value of the boolean type is false.
Category: Core Java Date: 11/3/2010 4:04:55 AM
Core Java : What is the range of the char type?

What is the range of the char type?

From 0 to 2^16 - 1.
Category: Core Java Date: 11/3/2010 3:44:48 AM
Core Java : What is the difference between static and non-static variables?

What is the difference between static and non-static variables?

A static variable is associated with the class as a whole rather than with specific instances of a c....
Category: Core Java Date: 11/3/2010 3:32:53 AM
Core Java : What is reflection?

What is reflection?

Reflection is the process of finding out the different features of a class dynamically.
Category: Core Java Date: 11/3/2010 2:27:52 AM