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. 如果您是我们的电子邮件客户,则可以查询帐号当前的状态

Reply via email to