diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2009-02-17 07:34:51 -0300 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2009-09-18 10:00:32 +0800 |
commit | 4fc6a16910e595401e919abde28cca436193e0dd (patch) | |
tree | e530d4f18ee03323fed56773865989bcd8011ab7 /apps/patchwork/models.py | |
parent | 330fc4acbf3f135a84090d0f305bb1df0993ac07 (diff) | |
download | patchwork-4fc6a16910e595401e919abde28cca436193e0dd.tar.bz2 patchwork-4fc6a16910e595401e919abde28cca436193e0dd.tar.xz |
pwclient fix for handling messages with UTF-8
pwclient works fine viewing utf-8 messages, if you don't try to redirect stdout.
However, if you do things like pwclient view 5063 >/tmp/patch, it fails
due to the weird character handling logic in python:
Traceback (most recent call last):
File "/usr/local/bin/pwclient", line 446, in ?
main()
File "/usr/local/bin/pwclient", line 411, in main
print s
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 249: ordinal not in range(128)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/patchwork/models.py')
0 files changed, 0 insertions, 0 deletions