Yeah, it should be used like public_title = u'开源项目/开源软件', it's not a
problem from webpy.

You may check more python multi-language docs.


On May 10, 11:18 am, Ken <[email protected]> wrote:
> 0.35
>
> and in 0.34 it is same too.
>
> 2011/5/10 Anand Chitipothu <[email protected]>
>
>
>
>
>
>
>
>
>
> > 2011/5/10 Ken <[email protected]>:
> > > public_title = '开源项目/开源软件' # Chinese word...
> > > title = project.name + ' - ' + category.name + ' - ' + public_title
> > > return render.project.view(title, ...)
> > > it returns: <type 'exceptions.UnicodeDecodeError'>
> > > if I make it u like this: public_title = u'开源项目/开源软件', it works.
> > > and the problem been fixed ? is it webpy's problem or python's?
>
> > What is the version of web.py that you are using? Did you try the same
> > with web.py trunk?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "web.py" 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/webpy?hl=en.
>
> --http://twitter.com/qichangxing
> python-cn(news, jobs)http://simple-is-better.com
> 办公室创意生活http://office.simple-is-better.com/

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.

Reply via email to