且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何编写一个Java函数来返回Unicode点的标准名称?

更新时间:2023-11-23 21:46:22

unicode标准是一个文件 UnicodeData-< Version> .txt (从unicode.org下载不工作),包含名称(和读取方向,toLowerCase和toUpperCase等) ):

Part of the unicode standard is a file UnicodeData-<Version>.txt (the download from unicode.org does not work) that contains the name (and reading direction, toLowerCase and toUpperCase etc.):

0021;EXCLAMATION MARK;Po;0;ON;;;;;N;;;;;

因此 0x21 被unicode标准称为

这可能被埋在JRE的某个地方,因为它用于转换小写和大写字符。

This could be buried somewhere in the JRE in some form as it is used to convert to lower and upper case characters.