Comments on: Character mapping must return integer, None or unicode http://www.terminally-incoherent.com/blog/2010/05/06/character-mapping-must-return-integer-none-or-unicode/ I will not fix your computer. Tue, 04 Aug 2020 22:34:33 +0000 hourly 1 https://wordpress.org/?v=4.7.26 By: x http://www.terminally-incoherent.com/blog/2010/05/06/character-mapping-must-return-integer-none-or-unicode/#comment-22059 Sun, 29 Apr 2012 17:08:10 +0000 http://www.terminally-incoherent.com/blog/?p=5616#comment-22059

Great explanation. I had the same problem recently. But the plaintext.encode(‘rot13’) does not work with unicode characters either (at least in 2.7.3).

Reply  |  Quote
]]>
By: Paulo http://www.terminally-incoherent.com/blog/2010/05/06/character-mapping-must-return-integer-none-or-unicode/#comment-19381 Sat, 11 Jun 2011 19:15:52 +0000 http://www.terminally-incoherent.com/blog/?p=5616#comment-19381

Wow, i have been reading code from gdata for about 1o hours thinking that was the issue, all it took was to encode parameters :P, thanks a lot man :D

Reply  |  Quote
]]>
By: Chris http://www.terminally-incoherent.com/blog/2010/05/06/character-mapping-must-return-integer-none-or-unicode/#comment-18706 Thu, 17 Mar 2011 22:30:41 +0000 http://www.terminally-incoherent.com/blog/?p=5616#comment-18706

Thanks, you saved me some time–was confounded by this Django error. I implemented your same “lazy half-assed” solution and it is working great in my situation!

Reply  |  Quote
]]>