Re: Just curious: who is using Pike for what?

"Peter Bortas @ Pike importm?te f?r mailinglistan" <[email protected]> Thu, 15 Dec 2016 16:00:06 +0000 (UCT)
Newsgroups gmane.comp.lang.pike.user
Message-ID <[email protected]>
>On Thu, Dec 15, 2016 at 10:29 PM, Tobias S. Josefowitz
><[email protected]> wrote:
>>>>> sz = "ß"
>>>>> sz.upper() == sz
>> True
>>
>> (python 2.7 apparently doesn't do this, not for me).
>
>In Python 2.7, what you have is a byte string, so you're probably
>trying to uppercase the UTF-8 byte sequence that represents that
>character.

Python 2.7 Unicode strings do the same thing though:

>>> print "Ã¥".upper()
Ã¥
>>> print u"Ã¥".upper()
Å
>>> print u"ß".upper()
ß