Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 3195 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 GY3BWV
Related Questions
Core Java : What is the difference between preemptive scheduling and time slicing?

What is the difference between preemptive scheduling and time slicing?

Under preemptive scheduling, the highest priority task executes until it enters the waiting or dead ....
Category: Core Java Date: 11/4/2010 5:53:52 PM
Core Java : What's the difference between methods and constructors?

What's the difference between methods and constructors?

Constructors must have the same name of the class and can not have a return type. Methods can be cal....
Category: Core Java Date: 11/4/2010 4:59:46 PM
Core Java : What is the purpose of  Observer and Observable?

What is the purpose of Observer and Observable?

Subclass of Observable class maintain a list of observers. Whenever an Observable object is updated,....
Category: Core Java Date: 11/4/2010 4:15:50 PM
Core Java : What is the ObjectInputStream?

What is the ObjectInputStream?

It is a class allows you to read objects directly from a stream
Category: Core Java Date: 11/4/2010 3:43:49 PM
Core Java : How to force garbage collector to run?

How to force garbage collector to run?

By using System.gc().
Category: Core Java Date: 11/4/2010 3:10:47 PM