At 11:28 PM +0200 4/13/04, Michael Scott wrote:
On 13 Apr 2004, at 22:48, Dan Sugalski wrote:

Note that the language might be "Dunno". :) There'll be a default that's assigned to input data and suchlike things, and the language markers in the strings can be overridden by code.


Would this be right?


English + English = English
English + Chinese = Dunno
English + Dunno = Dunno

+ being symmetric.

I've been assuming it's a left-side wins, as you're tacking onto an existing string, so you'd get English in all cases. Alternately you could get an exception. The end result of a mixed-language operation could certainly be the Dunno language or the current default--both'd be reasonable.


How does a Dunno string know how to change case?

It uses the defaults provided by the character set. -- Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to