Nuxeo mailing list archives
[Nuxeo-tickets] [Nuxeo Repository] #1775: RSS Portlet fails with
weird characters
Nuxeo Repository
trac at nuxeo.com
Mon Nov 6 16:15:29 CET 2006
#1775: RSS Portlet fails with weird characters
-------------------------+--------------------------------------------------
Reporter: gracinet | Owner: jmorliaguet
Type: defect | Status: new
Priority: P2 | Milestone: CPS 3.4.3
Component: CPSPortlets | Version: TRUNK
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
End of TB:
{{{
* Module Products.PageTemplates.PageTemplate, line 104, in pt_render
<FSPageTemplate at /cps/cpsportlet_rssitem_display used for
/cps/portal_layouts/rss_portlet/w__portlet>
* Module TAL.TALInterpreter, line 238, in __call__
(...)
* Module TAL.TALInterpreter, line 542, in do_insertText_tal
* Module Products.Localizer, line 148, in write
* Module ZPublisher.HTTPResponse, line 453, in _encode_unicode
* Module encodings.iso8859_15, line 18, in encode
UnicodeEncodeError: 'charmap' codec can't encode character u'\u2022' in
position 245: character maps to <undefined>
}}}
Should use CPSUtils' latin9_fallback in encoding. For the record,
u'\u2022' is a bullet. Comes from a major french newspaper feed.
--
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1775>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.