Skip to content

Commit a286f4d

Browse files
committed
Merge branch 'main' of github.com:parallel101/cppguidebook
2 parents 4466935 + e190793 commit a286f4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/unicode.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ GBK 在保持 GB2312 部分不变的基础上,额外追加了 21886 个汉字
588588
589589
#### GB18030
590590

591-
于 2000 年 3 月发布的汉字编码国家标准,完全兼容 GBK GB2312。
591+
于 2000 年 3 月发布的汉字编码国家标准,完全兼容 GBK GB2312。
592592

593593
采用多字节编码,每个字符可以编码为 1 字节、2 字节、或 4 字节。
594594

@@ -628,7 +628,7 @@ GB18030 编码空间巨大,不仅囊括了中日韩汉字,所有 Unicode 中
628628
|Linux `char`|1 字节|取决于 `$LC_ALL`|"hello"|
629629
|Windows `char`|1 字节|取决于系统区域设置|"hello"|
630630
|Linux `wchar_t`|4 字节|UTF-32|L"hello"|
631-
|Windows `wchar_t`|2 字节|UTF-16|L"hello"|
631+
|Windows `wchar_t`|2 字节|UTF-16LE|L"hello"|
632632
|`char8_t`|1 字节|UTF-8|u8"hello"|
633633
|`char16_t`|2 字节|UTF-16|u"hello"|
634634
|`char32_t`|4 字节|UTF-32|U"hello"|

0 commit comments

Comments
 (0)