Oct. 3, 2005
6:37 p.m.
Antoine Pitrou wrote:
Under the default encoding (and quite a few other encodings), that's true for plain ascii strings and Unicode strings.
If I have an unicode string containing legal characters greater than 0x7F, and I pass it to a function which converts it to str, the conversion fails.
so? if it does that, it's not unicode safe. what's that has to do with my argument (which is that you can safely mix ascii strings and unicode strings, because that's how things were designed).
Here is an example so that you really understand.
I wrote the unicode type. I do understand how it works. </F>