1
0
Fork 0
django-mailbox/django_mailbox/tests/messages/message_with_single_byte_encoding.eml
Adam Coddington 88d122c421 Base64-encode message body when storing in DB.
* 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.
2013-07-26 22:13:29 -07:00

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
Ýòî ñîîáùåíèå èìååò íåïðàâèëüíóþ êîäèðîâêà.