Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 3366 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 FFIzIW
Related Questions
Core Java : What is the Collections API?

What is the Collections API?

The Collections API is a set of classes and interfaces that support operations on collections of obj....
Category: Core Java Date: 11/4/2010 8:59:48 PM
Core Java : Is "abc" a primitive value?

Is "abc" a primitive value?

The String literal "abc" is not a primitive value. It is a String object.
Category: Core Java Date: 11/4/2010 8:47:53 PM
Core Java : What is the difference between List, Set and Map?

What is the difference between List, Set and Map?

A Set is a collection that has no duplicate elements. A List is a collection that has an order assoc....
Category: Core Java Date: 11/4/2010 8:15:52 PM
Core Java : What is thread priority?

What is thread priority?

Thread Priority is an integer value that identifies the relative order in which it should be execute....
Category: Core Java Date: 11/4/2010 7:43:50 PM
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