首页 > 数据库 > Oracle > 什么是Unicode?
参见Oracle Globalization Support Guide
Unicode is a universal encoded character set that enables information from any
language to be stored using a single character set. Unicode provides a unique code
value for every character, regardless of the platform, program, or language.
Unicode有编码规则:
■ UTF-8 Encoding
■ UCS-2 Encoding
■ UTF-16 Encoding等
[@more@]参见Oracle Globalization Support Guide
Unicode is a universal encoded character set that enables information from any
language to be stored using a single character set. Unicode provides a unique code
value for every character, regardless of the platform, program, or language.
Unicode有编码规则:
■ UTF-8 Encoding
■ UCS-2 Encoding
■ UTF-16 Encoding等
Oracle支持Unicode的字符集(且使用了以上编码规则)
Oracle的字符集 | 最高支持Unicode的版本 | 编码规则 | DB,NCHAR类型能否使用 | 特点 |
UTF8 | 3.0 | UTF-8 | Y Y | 使用1,2,3个字节编码,兼容ASCII码,附件字符插入UTF8数据库后使用占6个字节的2个独立自定义字符,如想完全支持附加字符,推荐使用AL32UTF8 |
UTFE | 3.0 | UTF-EBCDIC | Y N | IBM平台上使用,以1,2,3,4个字节编码,附加字符用2个4字节的字符表示 |
AL32UTF8 | 4.0 | UTF-8 | Y N | 支持最新的Unicode标准,使用1,2,3个字节来编码,附件字符使用4个字节,兼容ASII码 |
AL16UTF16 | 4.0 | UTF-16 | N Y | SQL中NCHAR数据类型的默认字符类型,以4个字节来存储附件字符 |
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/1513/viewspace-1031797/ ,如需转载,请注明出处,否则将追究法律责任。