[I18n-sig] Format strings
2005 at kuarepoti-dju.net
Mon Dec 5 16:39:47 CET 2005
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
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.
More information about the I18n-sig