Why does sprintf generate a Null when sprinting extended character 253(decimal) in to a a string variable? i.e.
sprintf(s,"%s","ý");
are you sure that the character which displays as 'ý' here actually has code 253?? Maybe, in the font you're using, this is how it displays a NUL?!