Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 3234 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 QgKlt8
Related Questions
Core Java : Why do we use finalization?

Why do we use finalization?

We use finalization to give an unreachable object the opportunity to perform any cleanup processing ....
Category: Core Java Date: 11/5/2010 2:48:48 AM
Core Java : What is a compilation unit?

What is a compilation unit?

A compilation unit is a Java source code file.
Category: Core Java Date: 11/5/2010 2:48:47 AM
Core Java : How are this and super used?

How are this and super used?

this is used to refer to the current object instance. super is used to refer to the variables and me....
Category: Core Java Date: 11/5/2010 2:15:46 AM
Core Java : What is numeric promotion?

What is numeric promotion?

Numeric promotion is the conversion of a smaller numeric type to a larger numeric type, so that inte....
Category: Core Java Date: 11/5/2010 1:20:55 AM
Core Java : What are the restrictions placed on overloading a method ?

What are the restrictions placed on overloading a method ?

Overloading methods must differ in their parameter list, or number of parameters.
Category: Core Java Date: 11/5/2010 12:59:49 AM