--- ECHO_content/ECHO_helpers.py 2007/07/24 09:11:46 1.84 +++ ECHO_content/ECHO_helpers.py 2007/08/15 11:05:43 1.85 @@ -84,6 +84,17 @@ class ECHO_basis: management_page_charset="utf-8" isVisible = True + + def unicodify(self, s): + """return unicode object for string (utf-8 or latin1) or unicode object s""" + return unicodify(s) + + + def utf8ify(self, s): + """return utf-8 encoded string object for string or unicode object s""" + return utf8ify(s) + + def manage_addECHO_locale(self,lang,title,label,text=None,content_type=None,RESPONSE=None): return ECHO_collection.manage_addECHO_locale(self,lang,title,label)