Skip to content

Commit e190793

Browse files
authored
Merge pull request #17 from Mq-b/Mq-b-dev
windows 中 `wchar_t` 应该是 UTF-16LE
2 parents 9f9e253 + 3d147d8 commit e190793

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/unicode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)