萍聚社区-德国热线-德国实用信息网

 找回密码
 注册

微信登录

微信扫一扫,快速登录

萍聚头条

查看: 633|回复: 0

1-1-16-2-20 有关 Unicode

[复制链接]
发表于 2003-5-11 23:50 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册 微信登录

x
发信人: javarookie (JavaRookie), 信区: Java
标  题: 有关 Unicode
发信站: BBS 水木清华站 (Thu Nov  7 17:03:46 2002), 转信

有关 Java 里面的 Unicode
我从 JVMS 里面找到这样一段话:
(http://java.sun.com/docs/books/vmspec/2nd-edition/html/
Concepts.doc.html#25310)2.1 Unicode

Programs written in the Java programming language supported by JDK release
1.1.7 and the Java 2 platform, v1.2 use the Unicode character encoding, vers
ion 2.1, as specified in The Unicode Standard, Version 2.0, ISBN 0-201-48345
-9, and the update information for Version 2.1 of the Unicode Standard avail
able at http://www.unicode.org. Programs written in the Java programming lan
guage used version 2.0.14 of the Unicode Standard in JDK releases 1.1 throug
h 1.1.6 and used version 1.1.5 of the Unicode Standard in JDK release 1.0.

由 JDK 1.1.7 版本和 Java 2 平台支持的 Java 程序设计语言开发的程序使用
Unicode 2.1版本的字符编码。该编码由 Unicode 标准 2.0 ISBN 0-201-48345-9 指定
有关 Unicode  2.1 版本的升级信息可以从 http://www.unicode.org网站查阅。
由 JDK 1.1 平台支持的 Java 语言编写的程序使用 Unicode 标准 1.1.6 版本
由 JDK 1.0 平台的 Java 程序使用 Unicode 标准1.1.5版本。

Except for comments,identifiers (§2.2), and the contents of character and
string literals (§2.3), all input elements in a program written in the Java
programming language are formed from only ASCII characters. ASCII (ANSI X3.
4) is the American Standard Code for Information Interchange. The first 128
characters of the Unicode character encoding are the ASCII characters.

除了注释、标识符、字符的内容和字符串(注:这里指的字符串是指
String literals, 例如:String s ="sting";中,就是一个 string literals,
它和使用 new 操作符创建的 String 对象不同)的内容之外,所有程序文本都是由
ASCII 字符组成。Unicode 的前 128 位编码就是 ASCII 字符。?

--
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
您需要登录后才可以回帖 登录 | 注册 微信登录

本版积分规则

手机版|Archiver|AGB|Impressum|Datenschutzerklärung|萍聚社区-德国热线-德国实用信息网 |网站地图

GMT+2, 2024-6-15 03:40 , Processed in 0.052567 second(s), 19 queries , MemCached On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表