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?

-- 
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 webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to