forked from mirror/django-mailbox
* Since Django requires that the content stored in a TextField be unicode, we need some way to encode the message safely. In situations before where a single-byte non-7-bit-clean encoding were used, django-mailbox could explode when writing the message copy to the database; this should ameliorate that problem. * Reverts earlier changesets' encoding normalization.
9 lines
259 B
Text
9 lines
259 B
Text
Date: Fri, 30 Jan 2012 11:30:01 PST
|
|
Subject: Tjest
|
|
From: "Somebody" <somebody@somewhere.com>
|
|
To: idontknow@somewhere.com
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset="cp1251"
|
|
Content-Transfer-Encoding: 7bit
|
|
|
|
Ýòî ñîîáùåíèå èìååò íåïðàâèëüíóþ êîäèðîâêà.
|