Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 3821 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 7VNcmJ
Related Questions
Core Java : Can we create an abstract class with no abstract methods in it?

Can we create an abstract class with no abstract methods in it?

Yes, we can create an abstract class without abstract methods.
Category: Core Java Date: 11/9/2009 6:20:54 AM
Core Java : What is the difference between "while" and "do while" statements in Java?

What is the difference between "while" and "do while" statements in Java?

"while" statement checks the condition at the beginning of a loop to see whether the next ....
Category: Core Java Date: 11/9/2009 6:16:44 AM
Core Java : Expain each keyword of public static void main(String args[])?

Expain each keyword of public static void main(String args[])?

public: main() is the first method called by java environment when a program is executed so it has t....
Category: Core Java Date: 11/9/2009 6:12:58 AM
Core Java : What gives java it's "write once and run anywhere" nature?

What gives java it's "write once and run anywhere" nature?

All Java programs are compiled into class files that contain bytecodes. These byte codes can be run ....
Category: Core Java Date: 11/9/2009 6:09:51 AM
Core Java : What method must be implemented by all threads?

What method must be implemented by all threads?

All threads must implement the run() method, whether they are a inherite from Thread class or implem....
Category: Core Java Date: 10/30/2009 5:10:31 AM