-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
ioInvolving the I/O subsystem: libuv, read, write, etc.Involving the I/O subsystem: libuv, read, write, etc.unicodeRelated to unicode characters and encodingsRelated to unicode characters and encodings
Description
In trying to fix #47404, we noticed that it's really hard to read UTF16 data from files. Long ago there used to be utf16() and utf32() functions to do the conversion, but they were deprecated and removed.
The prevailing narrative is "UTF8 everywhere," and I agree wholeheartedly. But, reading UTF16 and UTF32 data, especially from a file, and converting to UTF8 ought to be easier.
DilumAluthge and PallHaraldsson
Metadata
Metadata
Assignees
Labels
ioInvolving the I/O subsystem: libuv, read, write, etc.Involving the I/O subsystem: libuv, read, write, etc.unicodeRelated to unicode characters and encodingsRelated to unicode characters and encodings