Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

Unicode, ASCII, UTF-16, and UTF-8 characters in java

Thu Nov 06, 2008 4:22 pm

How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters?



Re: Unicode, ASCII, UTF-16, and UTF-8 characters in java

Thu Nov 06, 2008 4:22 pm

Unicode requires 16 bits and ASCII require 7 bits. Although the ASCII character set uses only 7 bits, it is usually represented as 8 bits. UTF-8 represents characters using 8, 16, and 18 bit patterns. UTF-16 uses 16-bit and larger bit patterns.

Post a reply
  Related Posts  to : Unicode, ASCII, UTF-16, and UTF-8 characters in java
 How to save in a file the ASCII Characters? Like "☺"     -  
 How to remove special characters from a string in Java?     -  
 Print the ASCII Set     -  
 ascii codes using of it in c     -  
 few examples of c using ascii     -  
 Invalid unicode sequence error ("u")     -  
 Special Characters literals     -  
 URL Characters and URL Encoding Values     -  
 Number of Occurrences of characters in a string     -  
 continuously calculates the number of characters existing     -