Pelles C forum

Pelles C => Bug reports => Topic started by: sixth on March 14, 2011, 07:19:20 PM

Title: this is a bug ?
Post by: sixth on March 14, 2011, 07:19:20 PM
char *Text = "??<";
char TextLen[12];

_itoa(strlen(Text),TextLen,10);
MessageBox(0,Text,TextLen,0);

output:
Text = "}"
TextLen = 1

sory my english little if Text change to "?l<" then not any prob.
Title: Re: this is a bug ?
Post by: TimoVJL on March 14, 2011, 08:54:15 PM
read this:
http://en.wikipedia.org/wiki/Digraphs_and_trigraphs (http://en.wikipedia.org/wiki/Digraphs_and_trigraphs)

Trigraph   Equivalent
??<   {
Title: Re: this is a bug ?
Post by: sixth on March 14, 2011, 09:41:14 PM
Quote from: timovjl on March 14, 2011, 08:54:15 PM
read this:
http://en.wikipedia.org/wiki/Digraphs_and_trigraphs (http://en.wikipedia.org/wiki/Digraphs_and_trigraphs)

Trigraph   Equivalent
??<   {

thanks for reply and link