You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run imapcli list inbox and see 14 messages as expected. I run imapcli list inbox --format="{uid:7} {subject}" and see 8 messages then this error:
Traceback (most recent call last):
File "/usr/local/bin/imap-cli-list", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/imap_cli/list_mail.py", line 78, in main
display_conf['format_list'].format(**mail_info))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 10: ordinal not in range(128)
The offending message has the following subject:
A special “Thank you” from families you blessed last year
Do I need to do something special to format subjects with Unicode?
The text was updated successfully, but these errors were encountered:
Hi,
Before all, thank you for providing code free of charge.
I have a similar encoding/decoding problem with the imap-shell , with python 2.7 on the "old", "obsolete", "insecure" but stable WinXP-SP3.
When running list:
'charmap'codeccan't encode character u'\u2013' inposition95: charactermapsto<undefined>
I run
imapcli list inbox
and see 14 messages as expected. I runimapcli list inbox --format="{uid:7} {subject}"
and see 8 messages then this error:The offending message has the following subject:
Do I need to do something special to format subjects with Unicode?
The text was updated successfully, but these errors were encountered: