Opened 10 years ago

Closed 9 years ago

#11237 closed (invalid)

force_unicode in forbid_multi_line_headers always raises UnicodeEncodeError

Reported by: Michał Łowicki Owned by: nobody
Component: Core (Mail) Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


In core/ line 74 i get always UnicodeEncodeError with my dns - \xa3ow.BOROWSKA:
'utf8' codec can't decode byte 0xa3 in position 26: unexpected code byte. You passed in '<20090530221904.156.37508@\xa3ow.BOROWSKA>' (<type 'str'>)

Change History (3)

comment:1 Changed 10 years ago by Michał Łowicki

Component: Uncategorizeddjango.core.mail

comment:2 Changed 10 years ago by Michał Łowicki

It seems that my host name - 'Łow' is encoded with cp-1250 and this is a problem. How can I this fix without change host name on computer ?

comment:3 Changed 9 years ago by Russell Keith-Magee

Resolution: invalid
Status: newclosed

Impossible to diagnose without details of what it is you're actually doing. Feel free to reopen and provide more details - specifically, the exact sequence of calls that you are making that causes this error.

Note: See TracTickets for help on using tickets.
Back to Top