Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 3448 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 I9dfIh
Related Questions
Core Java : How does multithreading take place on a computer with a single CPU?

How does multithreading take place on a computer with a single CPU?

The operating system's task scheduler allocates execution time to multiple tasks. By quickly switchi....
Category: Core Java Date: 11/8/2010 3:29:50 PM
Core Java : What restrictions are placed on the location of a package statement  within a source code file?

What restrictions are placed on the location of a package statement within a source code file?

A package statement must appear as the first line in a source code file (excluding blank lines and c....
Category: Core Java Date: 11/8/2010 2:13:52 PM
Core Java : What's new with the stop(), suspend() and resume() methods in JDK 1.2?

What's new with the stop(), suspend() and resume() methods in JDK 1.2?

The stop(), suspend() and resume() methods have been deprecated in JDK 1.2.
Category: Core Java Date: 11/8/2010 1:51:46 PM
Core Java : What is the Class class?

What is the Class class?

The Class class is used to obtain information about an object's design.
Category: Core Java Date: 11/8/2010 11:29:48 AM
Core Java : What is the % operator?

What is the % operator?

It is referred to as the modulo or remainder operator. It returns the remainder of dividing the firs....
Category: Core Java Date: 11/8/2010 11:18:53 AM