launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #08670
Re: SOA object ids
On 13.12.2011 10:19, Abel Deuring wrote:
> On 13.12.2011 07:26, Robert Collins wrote:
>
>> We could say 'utf8' and leave it at that. Or we could say 'the
>> printable subset of ascii' or some such. I'd just say non whitespace
>> utf8, as strings are easier to deal with, and avoiding whitespace
>> avoids most likely encoding issues.
>
> No arbitrary utf8/utf16 or anything non-ASCII please, or we may have
> funny things like the attached script.
sigh, Looking at the mail in Thunderbird, the effect is spoiled... Run
also "cat utf8.py" -- should look like so:
# -*- coding: utf-8 -*-
a = u'Launchpad odd variants'
b = u'Lаunchpad odd variants'
c = u'Launchpad odd νariants'
d = u'Launchpad οdd variants'
print a == b
print a == c
print a == d
print b == c
print b == d
print c == d
Follow ups
References