Conversation
Notices
-
It is very annoying that unicode(u'foo', 'utf-8') raises an error. !python
-
@myfreeweb I have either utf-8 string or unicode and I wan't to get unicode.
-
@myfreeweb No. I'm using python 2.6 and I have either str or unicode instance and I want to get unicode instance conveniently.
-
@myfreeweb And if it is str instance, I know the encoding is utf-8.
-
@myfreeweb Флудерастирует %)
-
@myfreeweb That doesn't work, but I don't want to continue about this, I already wrote my own function for this.
-
@biny u'foo' is a unicode object, not an encoded string. What are you trying to do?
-