home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 241,372 of 243,242   
   Bonita Montero to All   
   Re: u8"" c11 c23   
   21 Oct 25 10:35:45   
   
   From: Bonita.Montero@gmail.com   
      
   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.   
      
   --- 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