as a follow on to Willaims question, based on compiling the example you gave, why is there a difference if you change ch\u0061r to ch\u0062r? I haven't tried this myself, but it might give you a hint as to what is going on... (OK, i tried it to make sure it gives the output I expected using eclipse)
Originally posted by Colin Lim: What does the 'r' stands for in ch\u0061r?
It does stand for the last character in "char".
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus