Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 4023 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 lvlRp0
Related Questions
Core Java : What is the difference among JVM Spec, JVM Implementation, JVM Runtime ?

What is the difference among JVM Spec, JVM Implementation, JVM Runtime ?

The JVM spec is the blueprint for the JVM generated. The JVM implementation is the actual implementa....
Category: Core Java Date: 11/6/2010 2:04:46 AM
Core Java : What is java collections?

What is java collections?

Java collections is a set of classes, that allows operations on  a collection of classes.
Category: Core Java Date: 11/6/2010 1:20:51 AM
Core Java : Which arithmetic operations can result in the throwing of an ArithmeticException?

Which arithmetic operations can result in the throwing of an ArithmeticException?

Integer / and % can result in the throwing of an ArithmeticException.
Category: Core Java Date: 11/6/2010 12:35:55 AM
Core Java : Are the Java run-time system generate class of exceptions?

Are the Java run-time system generate class of exceptions?

Yes, RuntimeException and Error exceptions.
Category: Core Java Date: 11/6/2010 12:14:49 AM
Core Java : What restrictions are placed on the values of each case of a switch statement?

What restrictions are placed on the values of each case of a switch statement?

During compilation, the values of each case of a switch statement must evaluate to a value that can ....
Category: Core Java Date: 11/6/2010 12:03:53 AM