Hi,
I see the documentation pointed out by Karen says:
"All of Django's database backends automatically convert Unicode
strings into the appropriate encoding for talking to the database.
They also automatically convert strings retrieved from the database
into Python Unicode strings. You don't
On Thu, Dec 11, 2008 at 10:02 PM, I.A wrote:
>
> Hi,
>
> I'm wondering the correct way to save unicode data in MySQL through
> django's models.
> The application I'm building reads a raw email and then stores the
> text data into the database. I process the email like so:
>
On Thu, 2008-12-11 at 19:02 -0800, I.A wrote:
> Hi,
>
> I'm wondering the correct way to save unicode data in MySQL through
> django's models.
> The application I'm building reads a raw email and then stores the
> text data into the database. I process the email like so:
>
> import email
>
Hi,
I'm wondering the correct way to save unicode data in MySQL through
django's models.
The application I'm building reads a raw email and then stores the
text data into the database. I process the email like so:
import email
mess822 = email.message_from_string(email_raw_data)
4 matches
Mail list logo