The bug is not in Ladon but the way you use strings. When you ladonize a method to use unicode you must be sure to return that type:
# -*- coding: utf-8 -*- from ladon.ladonizer import ladonize
class TaleoGateway(object): @ladonize(rtype=unicode) def ViewI(self): return unicode("Hello")
Best Regards Jakob Simon-Gaarde
The bug is not in Ladon but the way you use strings. When you ladonize a method to use unicode you must be sure to return that type:
# -*- coding: utf-8 -*-
from ladon.ladonizer import ladonize
class TaleoGateway( object) :
@ladonize( rtype=unicode)
return unicode("Hello")
def ViewI(self):
Best Regards
Jakob Simon-Gaarde