Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 3080 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 0kjDLD
Related Questions
Core Java : What is the difference between Exception and Error ?

What is the difference between Exception and Error ?

Exception is recoverable and the Error is unrecoverable.
Category: Core Java Date: 11/9/2010 7:06:52 AM
Core Java : When is the finally clause of a try-catch-finally statement executed?

When is the finally clause of a try-catch-finally statement executed?

Unless the thread of execution terminates or an exception occurs within the execution of the finally....
Category: Core Java Date: 11/9/2010 6:02:49 AM
Core Java : What is the purpose of the enableEvents() method?

What is the purpose of the enableEvents() method?

The enableEvents() method is used to enable an event for a particular object. Normally, an event is ....
Category: Core Java Date: 11/9/2010 5:50:54 AM
Core Java : How does a try statement determine which catch clause should be used to handle an exception?

How does a try statement determine which catch clause should be used to handle an exception?

When an exception is thrown within the body of a try statement, the catch clauses of the try stateme....
Category: Core Java Date: 11/4/2010 1:09:55 PM
Core Java : What is the type of error in this statement int a = 3.5;?

What is the type of error in this statement int a = 3.5;?

Compilation error.
Category: Core Java Date: 11/4/2010 11:43:47 AM