Wayne Werner <wa...@waynewerner.com> writes: > On Tue, 10 Sep 2013, Ben Finney wrote: > > The sooner we replace the erroneous > > “text is ASCII” in the common wisdom with “text is Unicode”, the > > better. > > I'd actually argue that it's better to replace the common wisdom with > "text is binary data, and we should normally look at that text through > Unicode eyes". A little less catchy, but more accurate ;)
No, that's inaccurate. A sequence of bytes is binary data. Unicode is not binary data. There are encodings which map Unicode to a sequence of bytes, but text is not binary data. -- \ “For fast acting relief, try slowing down.” —Jane Wagner, via | `\ Lily Tomlin | _o__) | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list