Why does sprintf generate a Null when sprinting extended character 253(decimal) in to a a string variable? i.e.
sprintf(s,"%s","ý");
Interesting. For me, sprintf (buf, "%s", "375"); works as expected, as do sprintf (buf, "%s", "\375"); sprintf (buf, "%s", "\xFD"); How do you input this character into your string literal? Is it some sort of Unicode (or other "wide" character) value that has a leading null as part of the 16 bits?