UnicodeEncodeError: 'ascii' codec can't encode character u'\xb7' in position 13: ordinal not in range(128)

John Machin sjmachin at lexicon.net
Thu Jul 16 11:43:41 EDT 2009


On Jul 16, 9:04 pm, akhil1988 <akhilan... at gmail.com> wrote:
> Please click reply on the post and then read this reply in the editor.
> Actually, some sequences have been replaced to their graphical form when
> this post is published. So the python code is being displayed, what actually
> it is not.

What editor? I guess you mean that somebody's browser may be
interpreting the & blah ; thingies .... but this is not relevant; your
syntax error problem is that 2.x unicode literals have a u in front
but 3.x str literals don't IOW you need to lose the first u in
u'\u00A0'



More information about the Python-list mailing list