Just a sample of the Echomail archive
COMPLANC:
[ << oldest | < older | list | newer > | newest >> ]
|  Message 241,376 of 243,097  |
|  Bonita Montero to All  |
|  Re: u8"" c11 c23  |
|  21 Oct 25 12:09:11  |
 From: Bonita.Montero@gmail.com Am 21.10.2025 um 12:07 schrieb Thiago Adams: > Em 21/10/2025 05:35, Bonita Montero escreveu: >> Am 20.10.2025 um 20:35 schrieb Thiago Adams: >>> speaking on signed x unsigned, >>> >>> u8"a" in C11 had the type char [N]. Normally char is signed >>> >>> in C23 it is unsigned char8_t [N]. >>> >>> when converting code from c11 to c23 we have a error here >>> const char* s = u8"" >>> >>> >>> >>> >>> >>> >>> I generally "cast char* " to "unsigned char*" when handling something >>> with utf8. I am not u8"" , I use just " " with utf8 encoded source code >>> and I just assume const char* is utf8. >>> >>> >> >> What is there to discuss ? Just cast and that's it. > > When converting code from c11 to c23 we have a error here > const char* s = u8"" No, because the null-terminator doesn't become negative with that. ;-) > > I think it is a big change..the ones C does not normally do. > > > --- SoupGate-Win32 v1.05 * Origin: you cannot sedate... all the things you hate (1:229/2) |
[ << oldest | < older | list | newer > | newest >> ]
(c) 1994, bbs@darkrealms.ca