some characters problems? was: Re: [Zope] WEBDAV
Bakhtiar A Hamid
kedai at kedai.com.my
Sun Apr 25 21:37:27 EDT 2004
On Friday 23 April 2004 16:23, Jaroslav Lukesh wrote:
> > maybe this will help. this mostly applies to kde users though.
> >
> > http://www.my-zope.org/Members/kedai/kdezopewebdav.news
>
> gives me interesting zope site error, what I found in last time
> manytimes at zope servers, not only at zope.org.
>
> So it is due some code update, or something wrong?
> I use zope 2.5.1 and there if some character not included in used
> charmap, no server errors (but no no-problems, for eg. STX does not make
> formatting, putting "another" char into for example gadfly, it puts an
> "?").
the test was done against zope 2.7, with kde 3.2.1. i use no encoding, iirc.
so lucky for me?
i'm not sure what happens in your case tho. and i haven't tested the same
setup with zope2.5
>
> Regards, JL.
>
>
> Site Error
>
> An error was encountered while publishing this resource.
>
> UnicodeEncodeError
> Sorry, a site error occurred.
>
> Traceback (innermost last):
>
> * Module ZPublisher.Publish, line 163, in publish_module_standard
> * Module Products.PlacelessTranslationService.PatchStringIO, line
> 45, in new_publish
> [...]
> * Module Products.PageTemplates.PageTemplate, line 96, in pt_render
> <ZopePageTemplate at /mzng/newsitem_view used for
> /mzng/Members/kedai/kdezopewebdav.news>
> [...]
> * Module TAL.TALInterpreter, line 369, in attrAction_tal
> * Module TAL.TALInterpreter, line 615, in translate
> * Module Products.PageTemplates.TALES, line 260, in translate
> * Module
> Products.PlacelessTranslationService.PlacelessTranslationService, line
> 109, in translate
> * Module
> Products.PlacelessTranslationService.PlacelessTranslationService, line
> 439, in translate
> * Module ZPublisher.HTTPResponse, line 433, in _encode_unicode
>
> UnicodeEncodeError: 'latin-1' codec can't encode character u'\u0159' in
> position 1: ordinal not in range(256) (Also, an error occurred while
> attempting to render the standard error message.)
More information about the Zope
mailing list