Skip to content

readbytes! method for element types other than UInt8 #47413

Open

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    ioInvolving the I/O subsystem: libuv, read, write, etc.unicodeRelated to unicode characters and encodings

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions