哥们们,

总算在列表里看到中文啦 :)
兴奋啊,祝新年快乐,牛年牛B

kang wrote:
> 在文件开始加上#coding=utf-8
> 
> 2009/1/22 网页中有汉字,就会产生错误,不知是啥原因 <hjma...@gmail.com 
> <mailto:hjma...@gmail.com>>
> 
> 
>     this code right in local development environment, but error on update
>     to server.
> 
>     import wsgiref.handlers
>     from google.appengine.ext import webapp
> 
>     class MainPage(webapp.RequestHandler):
>      def get(self):
>        self.response.headers['Content-Type'] = 'text/html; charset=utf-8'
>        self.response.out.write('<html><body><p>Hello, have no thing,有
>     了汉字就不
>     灵了?</p></body></html>')

-- 
____/\______________________________/\___________/\/\/\________________
_/\/\/\/\__/\__/\__/\____/\________/\____/\_____/\________/\_____/\__/\
__/\______/\_/\_____/\__/\___/\_/\/\__/\___/\__/\/\/\__/\___/\__/\_/\__
_/\______/\__________/\/\__/\____/\__/\___/\__/\______/\___/\__/\______
/\/\____/\____________/\____/\/\/\_____/\____/\_________/\____/\_______
_________________/\/\/\________________________________________________
_________/ trydofor.com / a9text.sf.net / a9w3.sf.net /________________

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to