How to concatenate unicode strings ???

Ariel isaacrc82 at gmail.com
Tue Apr 26 11:58:26 EDT 2011


Hi everybody, how could I concatenate unicode strings ???
What I want to do is this:

unicode('this an example language ') + unicode('español')

but I get an:
Traceback (most recent call last):
  File "<console>", line 1, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 11:
ordinal not in range(128)

How could I concatenate unicode strings ???

Regards
Thanks in advance.
Ariel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110426/c4ef3cdb/attachment.html>


More information about the Python-list mailing list