On 30 Jul, 18:17, Simon Willison <[EMAIL PROTECTED]> wrote: > > Some very useful people in #python on Freenode pointed out that my bug > occurs because I'm trying to display things interactively in the > console. Saving to a variable instead fixes the problem.
What's strange about that is how the object is represented when displayed: ('CHARACTERS', <DOM Text node "Simon\u2019s XM...">) Here, there's no attempt made to encode \u2019 as an ASCII byte sequence. Does the OS X version of Python do anything special with string representations? Paul -- http://mail.python.org/mailman/listinfo/python-list