UCS2和UTF16有区别
2024-08-26 22:31:23
UCS2是定长的,固定2个字节,所以不能支持扩展字符,而UTF16是变长的。
UCS2是落伍的。
msdn里有这样一段描述:
UCS-2 is a predecessor of UTF-16. UCS-2 differs from UTF-16 in that UCS-2 is a fixed-length encoding that represents all characters as a 16-bit value (2 bytes), and therefore does not support supplementary characters. UCS-2 is frequently confused with UTF-16, which is used to internally represent text in the Microsoft Windows operating systems (Windows NT, Windows 2000, Windows XP, and Windows CE), but UCS-2 is more limited.
最新文章
- 虚拟机体验之 Xen 篇 —— 令人脑洞大开的奇异架构
- elasticsearch 之mapping
- 如何用Maven创建web项目(具体步骤)
- BZOJ1576 [Usaco2009 Jan]安全路经Travel
- dom0级事件和dom2级事件
- WebApi2官网学习记录--HttpClient Message Handlers
- ORA-01092 ORA-12432: LBAC error: zllegnp:OCIStmtExecute 故障一例
- Xamarin Studio Android 配置
- Oracle基于学习3--Oracle创建用户和授权
- servlet规范核心类图
- OpenGL渲染管线(rendering pipeline)
- 题解:[APIO2007]风铃
- ASP.NET Core中的Startup类
- Mysql-5.7.20-winx64绿色版安装步骤
- WebAppInitializer类,代替web.xml
- PHP 定界符
- 如何使两台机器不通过密码连接起来(linux)
- POJ 2386 Lake Counting(搜索联通块)
- Nginx能做什么
- After reading a picture than out a picture