r/cpp • • Sep 30 '26

Transcoding UTF-8 to UTF-16 with replacement at gigabytes per second

https://lemire.me/blog/2026/09/30/transcoding-utf-8-to-utf-16-with-replacement-at-gigabytes-per-second/
74 Upvotes

6 comments sorted by

View all comments

Show parent comment

3

u/vishal340 Oct 03 '26

i didn’t know that there is a for_overwrite variant. upon inspection, that’s quite handy