Re: Deutsche Umlaute und UnicodeDecode-Error in Add-On Products ?
"Yvon Folz" <[email protected]>
| Newsgroups | gmane.comp.web.zope.german |
|---|---|
| Message-ID | <[email protected]> |
Hast Du mal probiert das Encoding auf utf-8 umzustellen? Das Problem hatte ich vor kurzem auch. Eventuell im Quellcode mal gesucht nach den diversen Stellen? Gruß Yvon --- 2008/12/27 Andreas Czerniak <[email protected]> > Hallo, > > in einigen Komponenten bekomme ich einen UnicodeDecode-Fehler, wenn ich in > Titel oder Beschreibungsfelder Umlaute einsetze. > Gibt es eine Möglichkeit eigenständig diesen Fehler zu beheben, als nur > einen BugReport - hier an die Entwickler von Questionnaire - zu schreiben > bzw. kann der Default-Codec von 'ascii' umgestellt werden ? > > -- Fehler-Meldung -- > 2008-12-27T09:19:37 ERROR Zope.SiteErrorLog > http://www.xyz.de/Wissenswertes/umfrage-dez.-2008/questionnaire_group_form > Traceback (innermost last): > Module ZPublisher.Publish, line 119, in publish > Module ZPublisher.mapply, line 88, in mapply > Module ZPublisher.Publish, line 42, in call_object > Module Products.CMFFormController.FSControllerPageTemplate, line 90, in > __call__ > Module Products.CMFFormController.BaseControllerPageTemplate, line 28, in > _call > Module Products.CMFFormController.ControllerBase, line 231, in getNext > Module Products.CMFFormController.Actions.TraverseTo, line 38, in > __call__ > Module ZPublisher.mapply, line 88, in mapply > Module ZPublisher.Publish, line 42, in call_object > Module Products.CMFFormController.FSControllerPythonScript, line 104, in > __call__ > Module Products.CMFFormController.Script, line 145, in __call__ > Module Products.CMFCore.FSPythonScript, line 140, in __call__ > Module Shared.DC.Scripts.Bindings, line 313, in __call__ > Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec > Module Products.CMFCore.FSPythonScript, line 196, in _exec > Module None, line 7, in questionnaire_groups_manage > - <FSControllerPythonScript at /TaMOs/questionnaire_groups_manage used > for /Wissenswertes/umfrage-dez.-2008> > - Line 7 > Module Products.CMFQuestionnaire.Questionnaire, line 398, in updateGroup > Module xml.dom.minidom, line 47, in toxml > Module xml.dom.minidom, line 62, in toprettyxml > Module StringIO, line 271, in getvalue > UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 27: > ordinal not in range(128) > > -- Plone-Version -- > > - Plone 3.1.7 > - CMF 2.1.1 > - Zope (Zope 2.10.6-final, python 2.4.5, linux2) > - Python 2.4.5 (#1, Dec 26 2008, 21:40:11) [GCC 4.1.2 20061115 > (prerelease) (Debian 4.1.1-21)] > - PIL 1.1.6 > > Vielen Dank, > Andreas. > > -- > Unsere Leistungsgesellschaft, ist nicht eine Gesellschaft in der Leistung gilt, > sondern eine, welche bestimmt, was Leistung ist und wer sie leisten darf. -- Gerd Uhlenbruck > --------------------------------------------- > Andreas Czerniak <[email protected]> <[email protected]> > AMCS - Network - www.amcs.net > Fax:+49-431-2000447; SIP://[email protected] > > > > > _______________________________________________ > zope mailing list > [email protected] > https://mail.dzug.org/mailman/listinfo/zope > > -- Heute ist der Tag vor übermorgen - also Gestern. _______________________________________________ zope mailing list [email protected] https://mail.dzug.org/mailman/listinfo/zope