From 2005 at kuarepoti-dju.net Mon Dec 5 16:39:47 2005 From: 2005 at kuarepoti-dju.net (Josef Spillner) Date: Mon, 5 Dec 2005 16:39:47 +0100 Subject: [I18n-sig] Format strings In-Reply-To: <438E2D42.7040908@v.loewis.de> References: <20051125161303.53FC8A848DC@pomo.hostsharing.net> <200511301536.21811.2005@kuarepoti-dju.net> <438E2D42.7040908@v.loewis.de> Message-ID: <200512051639.48793.2005@kuarepoti-dju.net> El Mi?rcoles, 30. Noviembre 2005 23:52, Martin v. L?wis escribi?: > a = u"Martin " > b = u"v. " > c = u"L?wis" > mvl = a+b+c > > Now, the object mvl does not have any source code: so which encoding > should be used to encode it? If you have an answer: how does that change > if I have > > mvl = mod1.a+mod2.b+mod3.c Ah, indeed. Although, there is sys.getdefaultencoding() (== "ascii"), controlling sys.setdefaultencoding() could be the application's task. > No. It is so far from actually working that nobody bothers to fix it. > However, if you have specific contributions which improve the state > (i.e. have no behaviour change if -U is not specified, but fix a bug > when it is), those are appreciated. OK, I'll look into it. Josef