On 29 Spa, 03:14, SamDonaldson <[EMAIL PROTECTED]> wrote:
> Could somebody seriously help me out here?  I got through the Unicode
> issue and wrote some of my own validator code in formencode to except
> strings in a more lenient way.  I'm storing this away in MySQL with
> the charset set to utf-8 with the default collation.
Actually you shouldn't do anything special if you are using
SQLAlchemy. I would recommend setting character set on individual
database (not the whole server). Like:

create database blahblahblah character set utf8;

You shouldn't use any hacks like sys.setdefau.... I did such and
similar hacks while developing on TurboGears but Pylons is pure gold
when we are talking about unicode support.

>                    context.write(u'    <title>')
>                    context.write(unicode(title))
>                    context.write(u' | BLAH</title>\r\n')
I'm not sure where from "title" comes (while I'm not using mako
either).

Regards,
Dalius


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to