version 1.85, 2007/08/15 11:05:43
|
version 1.86, 2007/09/11 11:09:56
|
Line 89 class ECHO_basis:
|
Line 89 class ECHO_basis:
|
"""return unicode object for string (utf-8 or latin1) or unicode object s""" |
"""return unicode object for string (utf-8 or latin1) or unicode object s""" |
return unicodify(s) |
return unicodify(s) |
|
|
|
# compatibility of old decode method |
|
decode = unicodify |
|
|
|
|
def utf8ify(self, s): |
def utf8ify(self, s): |
"""return utf-8 encoded string object for string or unicode object s""" |
"""return utf-8 encoded string object for string or unicode object s""" |