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,962 of 243,242   
   Richard Tobin to porkchop@invalid.foo   
   Re: Unicode...   
   14 Nov 25 23:23:15   
   
   From: richard@cogsci.ed.ac.uk   
      
   In article <10f85f9$33pck$1@dont-email.me>,   
   Michael Sanders   wrote:   
   >    const char *s = "élan";   
   >    printf("string:     %s\n", s);   
   >    printf("strlen:     %d\n", strlen(s)); // 4   
   >    printf("utf8_width: %d\n", utf8_width(s)); //5   
      
   I think you have those numbers the wrong way round.   
      
   -- Richard   
      
   --- 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