pombreda / gcalcli

Automatically exported from code.google.com/p/gcalcli
0 stars 0 forks source link

unicodeerror in list #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create an event with a title which cannot be represented in ascii
2. gcalcli list

What is the expected output? What do you see instead?
Unicode error instead of a list

What version of the product are you using? On what operating system?
svn61

Please provide any additional information below.
my following patch fixes the problem
--- gcalcli (revision 65)
+++ gcalcli (working copy)
@@ -737,7 +737,7 @@

         for cal in self.allCals.entry:
             PrintMsg(self._CalendarColor(cal),
-                     format % (cal.access_level.value, cal.title.text))
+                     format % (cal.access_level.value,
cal.title.text.decode("utf-8")))

but i'm not sure about the consequences

Original issue reported on code.google.com by canbu...@gmail.com on 22 Oct 2008 at 8:36

GoogleCodeExporter commented 9 years ago
This is identical with issue 18?

Original comment by stm....@gmail.com on 13 Mar 2009 at 2:35

GoogleCodeExporter commented 9 years ago
i'm not sure.

my report is on event titles, issue 18 is about calendar names.

Original comment by canbu...@gmail.com on 13 Mar 2009 at 9:41

GoogleCodeExporter commented 9 years ago

Original comment by eda...@insanum.com on 31 Jul 2011 at 5:25