sophana <[EMAIL PROTECTED]> writes: > This is indeed the typical very annoying feature I was talking about. In > web application, these strings with unicode inside come from the web > requests. Why isn't the string class simply replaced by the unicode > class? Why 2 classes?
In the future there will be only Unicode. For now there are two classes. Unfortunately things that are born in the US tipically only receive some kind of I18Nization later, not from start. :-) That I know of just Java got Unicode from beginning. > Ok, but why is the right string encoded into ascii and not into the same > encoding as the left unicode string? Because that's what the default encoding for Python. If I don't say in what encoding it is, then it will process it as the default encoding and it is ASCII. > Isn't the += operator an unicode method? No. It is a BaseString method. > Why would % operator would be faster than string concatenation? There is > much less work to do! Do you really think so? And I believe he was talking about the join method. -- Jorge Godoy <[EMAIL PROTECTED]> ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss