Hi Tracy,

less than two months ago, we were trying to use MySQL in our Django
project (because we were not successful with installation of
PostgreSQL adapter for Python psycopg2 on Mac OS X).

We had similar problems as you have, and ugly, but only found,
solution was to add encode (or decode? I do not remember exactly) to
many places in the code. usually in __unicode_() definitions.

And there were also other problems with MySQL, e.g. Django Evolution
does not work with MySQL so well, as with PostgreSQL.

Happily, in the end we wer successful with psycopg2 installation, and
we are very satisfied now, when using PostgreSQL, not MySQL.

Really, my personal experience is: Django and Django Evolution run
better on PostgreSQL. If you will decide to go this way and need some
support with PostgreSQL, does not hesitate to contact me directly.
Good luck!

Jano

On Sep 8, 5:11 am, Tracy Reed <[email protected]> wrote:
> On Mon, Sep 07, 2009 at 02:33:44AM -0700, ray spake thusly:
>
> > We were constantly getting decoding errors so we now use BeautifulSoup
> > to tidy the xml up before any processing.
>
> Wish I could implement a solution like that but I am just pulling
> times out of emails, not processing (X)HTML. I am amazed that over the
> course of almost three weeks poking around on IRC, in the docs, and on
> this mailing list nobody knows the answer. The most useful info I have
> received so far is "set your database to use utf-8", "django handles
> unicode for you", and "your code is broken". Indeed it is. If only I
> could figure out why and what the proper way to handle unicode with
> django and MySQL is.
>
> --
> Tracy Reedhttp://tracyreed.org
>
>  application_pgp-signature_part
> < 1KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to