Consider converting from wchar_t to char32_t, everywhere. #18
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: simon/post-scarcity#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
So far I've used wchar_t as the C type for characters, everywhere. The meaning of this is ambiguous; it may be interpreted as meaning 16 bits, or 32 bits. I have allowed 32 bits, everywhere.
Today I learned that there's an alternative definition,
char32_t, which is unambiguously 32 bit.This is currently only defined (as far as I can see) in headers intended for use with C++, but it might be worth using.