Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Right solution to unicode error?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Prasad, Ramit, post: 5059732"] You can always encode in a non-ASCII codec. `print task.subject.encode(<encoding>)` where <encoding> is something that supports the characters you want e.g. latin1. The list of built in codecs can be found: [URL]http://docs.python.org/library/codecs.html#standard-encodings[/URL] ~Ramit This emailis confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at [URL]http://www.jpmorgan.com/pages/disclosures/email[/URL]. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Right solution to unicode error?
Top