Skip to content

Commit 09a49ac

Browse files
authored
wchar_t is no longer sufficient to represent all Unicode code points
This is leftover text from the carefree and naive days of UCS-16. Fixing to catch up to UTF-16. https://stackoverflow.com/questions/78835753/microsoft-claims-that-a-wchar-t-can-hold-any-unicode-character-is-this-true
1 parent 904729f commit 09a49ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/c-runtime-library/unicode-the-wide-character-set.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: b6a05a21-59a5-4d30-8c85-2dbe185f7a74
88
---
99
# Unicode: The wide-character set
1010

11-
A wide character is a 2-byte multilingual character code. Any character in use in modern computing worldwide, including technical symbols and special publishing characters, can be represented according to the Unicode specification as a wide character. Developed and maintained by a large consortium that includes Microsoft, the Unicode standard is now widely accepted.
11+
A wide character is a 2-byte multilingual character code. Any character in use in modern computing worldwide, including technical symbols and special publishing characters, can be represented according to the Unicode specification as one or more wide characters. Developed and maintained by a large consortium that includes Microsoft, the Unicode standard is now widely accepted.
1212

1313
A wide character is of type **`wchar_t`**. A wide-character string is represented as a **`wchar_t[]`** array. You point to the array with a `wchar_t*` pointer.
1414

0 commit comments

Comments
 (0)