r253 - trunk/software/pyneod/pygsm
smartphones-commits at lists.linuxtogo.org
smartphones-commits at lists.linuxtogo.org
Fri Apr 25 17:18:22 CEST 2008
Author: emdete
Date: 2008-04-25 17:18:22 +0200 (Fri, 25 Apr 2008)
New Revision: 253
Modified:
trunk/software/pyneod/pygsm/genericmodem.py
Log:
convert modem-charset to unicode before dbus-transport
Modified: trunk/software/pyneod/pygsm/genericmodem.py
===================================================================
--- trunk/software/pyneod/pygsm/genericmodem.py 2008-04-25 10:07:59 UTC (rev 252)
+++ trunk/software/pyneod/pygsm/genericmodem.py 2008-04-25 15:18:22 UTC (rev 253)
@@ -18,7 +18,7 @@
if self.head:
self.head = not self.head
return StandardParser.feed(self, line)
- self.content[-1].append(line)
+ unicode(self.content[-1], 'latin1', 'replace').append(line)
self.head = not self.head
return False
More information about the Smartphones-commits
mailing list