Update wcstombs-wcstombs-l.md - #4478
Conversation
Starting in Windows 10 version 1803 (10.0.17134.0), the Universal C Runtime supports using a UTF-8 code page. Two bytes for every wide character may not be enough,best to use wcstombs (NULL, wcstr, 0) to get the size correctly.
|
Jihan Fu (@fjh1997) : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
|
Learn Build status updates of commit 746039d: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
|
Can you review the proposed changes? When the changes are ready for publication, add a #label:"aq-pr-triaged" |
Add code escape, fix formatting of the function call, etc.
Tyler Whitney (TylerMSFT)
left a comment
There was a problem hiding this comment.
Thanks, Jihan Fu (@fjh1997), for contributing to the docs!
|
Learn Build status updates of commit 1e7ebf2: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Added link for more info about UTF-8
|
Learn Build status updates of commit 680a576: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
|
#sign-off |
Starting in Windows 10 version 1803 (10.0.17134.0), the Universal C Runtime supports using a UTF-8 code page. Two bytes for every wide character may not be enough,best to use wcstombs (NULL, wcstr, 0) to get the size correctly.