From: Russ F. <ru...@to...> - 2007-03-15 15:19:13
|
From this, I think you have ascii as your default encoding. You probably need utf-8. My usual solution: 1. create a file called sitecustomize.py containing: import sys sys.setdefaultencoding("utf-8") 2. put this in <python>/lib/site-packages/ and try again. (If you are in a windows environment, you may need one of the ISO codepages instead of 'utf-8') Google " setdefaultencoding sitecustomize " for more on this. Best, --r. On 15 Mar 2007, at 15:51, hp...@in... wrote: > Here is the Traceback related to the Unicode Error. > > Traceback (innermost last): > Module ZPublisher.Publish, line 115, in publish > Module ZPublisher.mapply, line 88, in mapply > Module ZPublisher.Publish, line 41, in call_object > Module Products.CMFFormController.FSControllerPythonScript, line > 106, in __call__ > Module Products.CMFFormController.ControllerBase, line 232, in > getNext > - __traceback_info__: ['id = createTranslation', 'status = > success', 'button=None', 'errors={}', 'context=<ATDocument at library- > fr>', "kwargs={'portal_status_message': u'Document a \\xe9t\\xe9 > cr\\xe9\\xe9.'}", 'next_action=None', ''] > Module Products.CMFFormController.Actions.RedirectToAction, line > 49, in __call__ > Module Products.CMFFormController.Actions.RedirectTo, line 18, in > __call__ > Module Products.CMFFormController.Actions.BaseFormAction, line 130, > in updateQuery > Module ZTUtils.Zope, line 181, in make_query > UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in > position 11: ordinal not in range(128) > > > -- > Harlow Pinson > Indepth Learning > Email: hp...@in... > Phone: 505 994-2135 > Fax: 505 994-3603 > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Plone-i18n mailing list > Plo...@li... > https://lists.sourceforge.net/lists/listinfo/plone-i18n Russ Ferriday - Topia Systems - Open Source content management with Plone and Zope ru...@to... - office: +44 2076 1777588 - mobile: +44 7789 338868 - skype: ferriday a member of Zea Partners |