On Mon, Sep 8, 2008 at 5:47 PM, Anand Chitipothu <[EMAIL PROTECTED]> wrote:
>
> On Mon, Sep 8, 2008 at 1:15 PM, Yingbo Qiu <[EMAIL PROTECTED]> wrote:
>>
>> yeah. it break my UTF-8 encoding template ( chinese charset)
>
> Can you share the template that is failing?
>
Traceback (most recent call last):
File "/root/mail-info/web/wsgiserver/__init__.py", line 987, in communicate
req.respond()
File "/root/mail-info/web/wsgiserver/__init__.py", line 543, in respond
self._respond()
File "/root/mail-info/web/wsgiserver/__init__.py", line 555, in _respond
response = self.wsgi_app(self.environ, self.start_response)
File "/root/mail-info/web/httpserver.py", line 200, in __call__
return self.app(environ, xstart_response)
File "/root/mail-info/web/application.py", line 221, in wsgi
result = [utils.utf8(result)]
File "/root/mail-info/web/utils.py", line 238, in safestr
return str(obj)
File "/root/mail-info/web/template.py", line 1007, in __str__
return safestr(self.get('__body__', ''))
File "/root/mail-info/web/utils.py", line 238, in safestr
return str(obj)
UnicodeEncodeError: 'ascii' codec can't encode characters in position
6-13: ordinal not in range(128)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
卿¬ç«ç¹æ¨å¯ä»¥ï¼
1. æ¥è¯¢æçé®ä»¶æå¡å¨è¿å代ç ç宿´æ¶µä¹ï¼ä»¥åæä»¬å¯¹è§£å³è¯¥é®é¢ç建议
2. å¦ææ¨æ¯é®ä»¶æå¡å¨ç®¡çåï¼å¯ä»¥æ¥è¯¢æ¨çæå¡å¨åæçé®ä»¶æå¡å¨éä¿¡çç¶æ
3. å¦ææ¨æ¯æä»¬ççµåé®ä»¶å®¢æ·ï¼åå¯ä»¥æ¥è¯¢å¸å·å½åçç¶æ