Ticket #52 (closed defect: fixed)
importing gtk breaks unicode loading
| Reported by: | anonymous | Owned by: | xi |
|---|---|---|---|
| Priority: | normal | Component: | pyyaml |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The following summarizes it pretty well, I guess:
>>> import yaml
>>> u = u"\N{skull and crossbones}"
>>> yaml.load(yaml.dump(u))
u'\u2620'
>>> import gtk
>>> yaml.load(yaml.dump(u))
'\xe2\x98\xa0'
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
