What are the "serious" libraries?

June Bug june at causal.agency
Sun Apr 5 17:32:36 UTC 2020


> On Apr 5, 2020, at 13:19, Joe Nelson <joe at begriffs.com> wrote:
> 
> * supports Unicode
> 	ncurses supports wide characters (wchar_t), which can't *portably*
> 	handle Unicode.
> 	https://begriffs.com/posts/2019-01-19-inside-c-standard-lib.html#stdlib.h-wchar_t

Noticed something in that post: "Even Mac OS and iOS use 16 bit
wchar_t for whatever reason.”  That doesn’t seem to be true:

	printf("%zu\n", sizeof(wchar_t));

prints 4 on macOS. However, __STDC_ISO_10646__ doesn’t seem to be
defined.


More information about the Friends mailing list