On Mar 3, 2009, at 9:00 AM, Christopher Barker wrote:
> > menshikoval...@gmail.com wrote: >> In my controller I use flash('Регистрация'), then in >> sends to template >> form in >> "\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f" >> >> How to use "u" prefix here? > > Does: > > flash(u'Регистрация') > > not work? On Mar 3, 2009, at 10:33 PM, menshikoval...@gmail.com wrote: > > No =( You probably don't have a magic encoding comment. Try adding: # coding: utf-8 (or whatever encoding your editor uses) to the top of your .py file. -- Philip Jenvey --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---