M.-A. Lemburg wrote:
The whole point in adding Unicode to the language was to make the difference between text and binary data clear and visible at the type level.
well, when I wrote the Unicode type, the whole point was to be able to make it easy to handle Unicode text. no more, no less.
If we start to store text data in Unicode now and leave binary data in 8-bit strings, then the move to Unicode strings literals will be much smoother in P3k.
hopefully, the P3K string design will take a lot more into account than text-vs-binary; there are many ways to represent text, and many ways to store binary data, and many usage patterns for them both. a good design should take most of this into account. (google for "stringlib" for some work I'm doing in this area) </F>