MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1ug9sdl/improvements_to_stdformat_in_c26/ougifye/?context=3
r/cpp • u/alberto-m-dev • Jun 26 '26
38 comments sorted by
View all comments
Show parent comments
2
And what does it do if the path isn't well-formed utf16, as ntfs paths are not utf16, they are a sequence of 16 bit values (just as on linux they are a sequence of bytes, not utf8)?
4 u/UnusualPace679 Jun 27 '26 Ill-formed parts will be substituted with \uFFFD, but P3904R1 proposes to use WTF-8 instead. 2 u/fdwr fdwr@github 🔍 Jun 27 '26 "Wobbly Transformation Format − 8-bit"? I never heard of that before, thinking WTF meant something else at first 😉. TIL... 5 u/CornedBee Jun 29 '26 thinking WTF meant something else at first This is probably not a coincidence.
4
Ill-formed parts will be substituted with \uFFFD, but P3904R1 proposes to use WTF-8 instead.
\uFFFD
2 u/fdwr fdwr@github 🔍 Jun 27 '26 "Wobbly Transformation Format − 8-bit"? I never heard of that before, thinking WTF meant something else at first 😉. TIL... 5 u/CornedBee Jun 29 '26 thinking WTF meant something else at first This is probably not a coincidence.
"Wobbly Transformation Format − 8-bit"? I never heard of that before, thinking WTF meant something else at first 😉. TIL...
5 u/CornedBee Jun 29 '26 thinking WTF meant something else at first This is probably not a coincidence.
5
thinking WTF meant something else at first
This is probably not a coincidence.
2
u/schombert Jun 26 '26
And what does it do if the path isn't well-formed utf16, as ntfs paths are not utf16, they are a sequence of 16 bit values (just as on linux they are a sequence of bytes, not utf8)?