On Thu, Nov 04, 2004 at 09:05:03PM +0100, Per Hedbor () @ Pike (-) developers forum wrote:
Strings are by defenition always unicode, so a String.encoding would be trivial to implement.
Where is this definition? Why this is not enforced? And since in real-life we have to deal with encodings, we need some way to store somewhere encoding of strings which are read from external sources... But because this is not done on language level, I would prefer to prohibit all implicit conversions everywhere (or enforce them everywhere, but in this case, I guess, I'll look for another language :).
Regards, /Al