Call for help
2007-01-21
Neil Schemenauer2007-01-21
Mike Orr2007-01-21
Titus BrownRe: Call for help
2007-01-21
Neil Schemenauer2007-01-30
Titus Brown2007-01-30
Neil Schemenauer2007-01-21
Titus Brown2007-01-30
Titus Brown2007-01-30
Titus Brown2007-01-30
David Binger2007-01-30
Mike Orr2007-02-01
Mike Orr2007-02-01
David Binger2007-02-01
Mike Orr2007-02-02
Titus Brown2007-02-02
Mike Orr2007-02-02
David Binger2007-02-02
Mike Orr2007-02-02
Mike Orr2007-02-03
Evan LaforgeRe: Call for help
2007-02-05
Neil Schemenauer2007-02-06
David BingerRe: Call for help
2007-02-05
Neil Schemenauer2007-02-05
David Binger2007-01-30
Neil Schemenauer2007-01-30
Neil Schemenauer2007-01-30
Titus BrownRe: Call for help
David Binger
On Feb 5, 2007, at 5:17 PM, Neil Schemenauer wrote: > David Bingerwrote: >>>>> str(h8(u'\u1234')) >> '\xe1\x88\xb4' >> (this is the utf8 encoding of \u1234.) > > Do you sliently decode too? IOW, what does, > > h8('\xe1\x88\xb4') > > produce? I guess that's convenient but it would make encoding bugs > very difficult to find. Yes. The default decoding of qpy is utf-8. That's what the '8' is for. If the caller provides a str instance, it better be a utf-8 encoding.