Ross said:
> Suppose I define a char* variable as follows:
>
> char *s = "€";
I don't know what you wrote there, but on my display I can see a little
white square. (Just a quick tip: use const char * when pointing at string
literals.)
> What actually gets put into the binary?
It depends. The value might not even make it into the binary, depending on
whether s gets used. But typically the coding point of the character will
appear in the binary somewhere.
> Presumably, it gets stored in
> the encoding of the source file. Am I right? Or is it compiler/platform
> dependent?
Very much so.
<snip>
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)