- Trending Categories
- Data Structure
- Operating System
- MS Excel
- C Programming
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is Java Unicode System?
This article will help you understand what the Java Unicode System is.
Fundamentally, computers just deal with numbers. They store letters and other characters by assigning a number for each one. For example – A = U + 0041, B = U + 0042.
Why we need Unicode?
Before Unicode was invented, there were hundreds of different encoding systems for assigning this number. No single encoding could contain enough characters: For example, the European Union alone requires several different encodings to cover all its languages. Even for a single language like English no single encoding was adequate for all the letters, punctuation, and technical symbols in common use. These encoding systems also collide with one another. That is, two encodings can use the same number for two different characters, or use different numbers for the same character. Any given computer (especially servers) needs to support many different encodings; yet whenever data is passed between different encodings or platforms, the data always runs the risk of corruption.
Unicode provides a unique number for every character, no matter what the platform, no matter what the language, no matter what the program. Example – A = U + 0041, B = U + 0042, C = U + 0043, D = U + 0044.
Incorporating Unicode into client-server or multi-tiered applications and websites offers significant cost savings over the use of legacy character sets. Unicode enables a single software product or a single website to be targeted across multiple platforms, languages and countries without re-engineering. It allows data to be transported through many different systems without corruption.
Unicode and ASCII code are both ways that computer languages store characters as numbers. ASCII stands for “American Standard Code for Information Interchange” and it allows encoding for 128 characters. This is fine for English language, but not enough for others. Unicode can handle 100,000 characters, so by using this encoding scheme, JAVA allows programmers to work with printed languages from around the world.
- Related Articles
- Why Java uses Unicode System?
- What is Module System in Java 9?
- Convert Unicode to UTF-8 in Java
- Convert UTF-8 to Unicode in Java
- What is the purpose of System class in Java?
- Store unicode in a char variable in Java
- What Is Skeletal System and Excretory System ?
- Check whether a String has only unicode digits in Java
- Check if the String contains only unicode letters in Java
- Java Program to determine a Character's Unicode Block
- What is Digestive System?
- What is System Buses?
- What is Root System?
- What is circulatory system?
- What is Muscular System?