Andreas Jung wrote:

--On Montag, 23. Mai 2005 10:35 Uhr +0200 Joern Wallstabe <[EMAIL PROTECTED]> wrote:

I'm always getting a  UnicodeDecodeError.

To every error message belongs a traceback where you can see
*where* the error occurs...another try?


the script decodes unicode 'Spécification' -> utf8 'Sp\xc3\xa9cification'

the error is raised during zpt processing.
by the way python default default encoding is set to ascii.

Traceback (innermost last):
Module ZPublisher.Publish, line 101, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module Products.CMFFormController.FSControllerPageTemplate, line 98, in __call__ Module Products.CMFFormController.BaseControllerPageTemplate, line 42, in _call
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 188, in _exec
Module Products.CMFCore.FSPageTemplate, line 127, in pt_render
Module Products.PageTemplates.PageTemplate, line 97, in pt_render

<FSControllerPageTemplate at /cmf/edit_form used for /cmf/Members/wal/myid>
Module StringIO, line 203, in getvalue
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 95: ordinal not in range(128)

regards joern

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to