python 2.7 and unicode (one more time)

Marko Rauhamaa marko at pacujo.net
Fri Nov 21 07:36:39 CET 2014


Chris Angelico <rosuav at gmail.com>:

> On Fri, Nov 21, 2014 at 5:56 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
>> I don't really like it how Unicode is equated with text, or even
>> character strings.
> [...]
> Do you have actual text that you're unable to represent in Unicode?

Not my point at all.

I'm saying equating an abstract data type (string) with its
representation (Unicode vector) is bad taste.

> We don't call numbers IEEE,

Exactly.

> Do you genuinely have text that you can't represent in Unicode, or are
> you just arguing against Unicode to try to justify "Python strings are
> <something else>" as a basis for your code?

Nobody is arguing against Unicode. I'm saying, let's talk about the
forest instead of the trees (except when the trees really are the
focus).


Marko



More information about the Python-list mailing list