Jens Nachtigall
2006-09-14 19:59:09 UTC
Hi,
if I have an event with a title which contains utf-8 (e.g. "täst") then I do
receive an UnicodeDecodeErrors in every getEventDict* python script.This
means that the calendar can not be viewed any more, if the event with the
umlaut in its title is supposed to be displayed in the calender.
the problem lies here:
#title is 'täst' ('t\xc3\xa4st')
eventtitle = str(event.Title)
[...]
# this gives the UnicodeDecodeError
eventstring= '<strong>'+eventtitle+'</strong>(start: '+ \
stime+' - '+smonth+' '+sday+', '+syear \
+' |end: '+etime+' - '+emonth+' '+eday+', '+eyear+')'
How can this be fixed? calenderX0.6.5(stable) 2005-12-21
My site-encoding is utf-8
tia,
jens
if I have an event with a title which contains utf-8 (e.g. "täst") then I do
receive an UnicodeDecodeErrors in every getEventDict* python script.This
means that the calendar can not be viewed any more, if the event with the
umlaut in its title is supposed to be displayed in the calender.
the problem lies here:
#title is 'täst' ('t\xc3\xa4st')
eventtitle = str(event.Title)
[...]
# this gives the UnicodeDecodeError
eventstring= '<strong>'+eventtitle+'</strong>(start: '+ \
stime+' - '+smonth+' '+sday+', '+syear \
+' |end: '+etime+' - '+emonth+' '+eday+', '+eyear+')'
How can this be fixed? calenderX0.6.5(stable) 2005-12-21
My site-encoding is utf-8
tia,
jens