Re: unicode/ut8 input in mysql via django models

2008-12-11 Thread I.A
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

Re: unicode/ut8 input in mysql via django models

2008-12-11 Thread Karen Tracey
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: >

Re: unicode/ut8 input in mysql via django models

2008-12-11 Thread Malcolm Tredinnick
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 >

unicode/ut8 input in mysql via django models

2008-12-11 Thread I.A
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)