Opened 16 years ago
Closed 15 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 |
Description
In core/mail.py 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 by , 16 years ago
Component: | Uncategorized → django.core.mail |
---|
comment:2 by , 16 years ago
comment:3 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
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.
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 ?