dk.text¶
- dk.text.u(obj)¶
Return obj as a unicode string. If obj is a (non-)unicode string, then first try to decode it as utf-8, then as iso-8859-1.
- dk.text.u8(obj)¶
Return a utf-8 representation of obj.
Return obj as a unicode string. If obj is a (non-)unicode string, then first try to decode it as utf-8, then as iso-8859-1.
Return a utf-8 representation of obj.