[Zope-dev] Urgent: zope cvs not accept Chinese any more

Andreas Jung andreas@andreas-jung.com
Sun, 5 May 2002 06:59:53 -0400


I think this behaviour is caused by Toby unicode patches
that were merged into the trunk some time ago. Maybe Toby
can give an explanation for this behaviour.

Andreas

----- Original Message -----
From: "kent sin" <kentsin@yahoo.com>
To: <zope-dev@zope.org>
Sent: Saturday, May 04, 2002 00:08
Subject: [Zope-dev] Urgent: zope cvs not accept Chinese any more


> I just check out the zope from cvs. Then I receive
> error when update properties. It seems the property
> menager now try to re-code into unicode, but thinking
> the input is just latin-1. Actually, I have just add
> to the root of my site the property
> management_page_charset as utf-8 which the manage page
> correctly default to utf-8 encoding now. But obviously
> it does not accept chinese. I have also try to add a
> new property as ustring but also fail.
>
> Should I need to add chinese / Japanese encoding to
> python?
>
> the version :
>
> Zope Version  (unreleased version, python 2.1.2,
> freebsd4)
> Python Version  2.1.2 (#1, Mar 8 2002, 19:05:29) [GCC
> 2.95.3 20010315 (release) [FreeBSD]]
> System Platform  freebsd4
> SOFTWARE_HOME  /usr/home/zope/Zope/lib/python
> INSTANCE_HOME  /usr/home/zope/InstanceHome
> CLIENT_HOME  /usr/home/zope/InstanceHome/var
> Process Id  349 (149715968)
>
>
> trace out capture as below:
> -----
> Site Error
> An error was encountered while publishing this
> resource.
>
> Error Type: UnicodeError
> Error Value: Latin-1 encoding error: ordinal not in
> range(256)
>
>
>
> --------------------------------------------------------------------------
------
>
> Troubleshooting Suggestions
>
> The URL may be incorrect.
> The parameters passed to this resource may be
> incorrect.
> A resource that this resource relies on may be
> encountering an error.
> For more detailed information about the error, please
> refer to the HTML source for this page.
>
> If the error persists please contact the site
> maintainer. Thank you for your patience.
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
>
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>