← Back to team overview

launchpad-dev team mailing list archive

Re: SOA object ids

 

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.

Abel
# -*- 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