• 淘宝、京东、拼多多购物助手上线,希望大家多多支持!

  • 增加付费可看,结合购物助手

  • 马上要过年了

  • 下载资源可以使用了! :mrgreen:

  • 今天天气一般般!

Unicode System

JAVA 空手师 4年前 (2019-11-15) 331次浏览 已收录 0个评论

Unicode System

Unicode is a universal international standard character encoding that is capable of representing most of the world’s written languages.

Why java uses Unicode System?

Before Unicode, there were many language standards:
  • ASCII (American Standard Code for Information Interchange) for the United States.
  • ISO 8859-1 for Western European Language.
  • KOI-8 for Russian.
  • GB18030 and BIG-5 for chinese, and so on.

Problem

This caused two problems:

  1. A particular code value corresponds to different letters in the various language standards.
  2. The encodings for languages with large character sets have variable length.Some common characters are encoded as single bytes, other require two or more byte.

Solution

To solve these problems, a new language standard was developed i.e. Unicode System.
In unicode, character holds 2 byte, so java also uses 2 byte for characters.
lowest value:u0000
highest value:uFFFF

空手之道 , 版权所有丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Unicode System丨部分内容为转载,如有侵权,请联系,删除处理!丨
喜欢 (0)

您必须 登录 才能发表评论!