My kid.encoding is 'utf-8', so everything have been good work.
but My turbogears app must be connected in another machine that knows only
'euc-kr' encoding.
so I want to know how to encode only one function to 'euc-kr' in my
controller.py, but others are 'utf-8'
this is my controller.py
class Root(controllers.RootController):
@expose(template="ucsrv.templates.devlist")#this function's encoding is
utf-8
def index(self):
return dict(lineDevs =
UCApp.singleton.lineDevs,telLineDevs=UCApp.singleton.telLineDevs)
@expose(template="ucsrv.templates.euc_kr")#this function's encoding is
euc-kr
def toAnotheMachine(self):
return dict(lang='Korean",contents="blurblur")
I want to convert just 'toAnotheMachine' function's encoding to 'euc-kr'
exception 'index' function.
Is this possible?
How can I do this?
Thank you in advance for your oppinion!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---