[Issue 23186] wchar/dchar do not have their endianess defined

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 15 16:33:27 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23186

--- Comment #2 from Richard Cattermole <alphaglosined at gmail.com> ---
No, this isn't an ABI thing, it's about encodings.

Ideally, wchar/dchar would have little and big endian versions so that we can
represent both forms of the encoding in the type system.

It gotta be in: https://dlang.org/spec/type.html#basic-data-types

However, it can be kept pretty simple something like ``Unicode 8-bit code point
with matching target endian``.

--


More information about the Digitalmars-d-bugs mailing list