On Mar 5, 8:57 am, JT <jeff.temp...@gmail.com> wrote: > On Mar 4, 9:30 pm, John Machin <sjmac...@lexicon.net> wrote: > > > Your data has been FUABARred (the first A being for Almost) -- the > > "\u3c00" and "\u3e00" were once "<" and ">" respectively. You will > > Hi John, > > I realized that a few minutes after posting. I then realized that > I could just extract the text between the stuff with \u3c00 xml > preserve etc, which I did; it was good enough since it was a one-off > affair, I had to convert a to-do list from one program to another. > Thanks for replying and sorry for the noise :-)
Next time you need to extract some data from an xml file, please (for your own good) don't do whatever you did in that code -- note that the unicode equivalent of "<" is u"\u003c", NOT u"\u3c00"; I wasn't joking when I said it had been FU. -- http://mail.python.org/mailman/listinfo/python-list