Re: UnicodeEncodeError (after portupgrade)

espen <[email protected]> Tue, 12 May 2015 02:12:27 -0700 (MST)
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>

10. mai 2015 kl. 23:02 skrev jdek [via Plone] <[email protected]>:

> Hi Nathan, 
> 
> Thank you for your response. I have deleted the question because the error was   
> a special character in the full-name of a user. So it was no Plone-issue and 

actually, I think it was a Plone isssu
> it felt like a stupid question afterwards. 
no, it was not.

>From what I guess, the error comes from¨
 (', '.join([each.getTitle() for each in entry.getAuthors()]))

Is this in a template in Plone, or a custom view ?

I am not sure about the correct syntax, but maybe something like

 (', '.join([each.getTitle().encode('utf8') for each in entry.getAuthors()]))

Espen


> Regards, 
> J 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://plone.293351.n2.nabble.com/Re-UnicodeEncodeError-after-portupgrade-tp7573830p7573831.html
> To start a new topic under General Questions, email ml-node+s293351n293352h65-PKuAHvtXa09l57MIdRCFDg@public.gmane.org 
> To unsubscribe from Plone, click here.
> NAML





--
View this message in context: http://plone.293351.n2.nabble.com/Re-UnicodeEncodeError-after-portupgrade-tp7573830p7573833.html
Sent from the General Questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users