diff -r b348d8f15b0a -r 48fba7b4afe9 iro/model/message.py --- a/iro/model/message.py Fri Mar 23 16:21:22 2012 +0100 +++ b/iro/model/message.py Fri Mar 23 16:22:32 2012 +0100 @@ -21,16 +21,12 @@ class SMS(Message): def __init__(self, cont, from_ = None): - Message.__init__(self, cont, typ="sms") + Message.__init__(self, cont.encode("utf-8"), typ="sms") self.from_ = from_ - def sendto(self,anbieter,recipients): - anbieter.sendSMS(self,recipients) - - class Fax(Message): def __init__(self,header,cont,attachments=[]): - Message.__init__(self,cont, typ="fax") + Message.__init__(self,cont.encode("utf-8"),typ="fax") self.header=header self.attachments=attachments