from:string += namestring += self.params[name]
to:string += _unicode(name)string += _unicode(self.params[name])
now works!