wsgidav.compat.to_unicode

wsgidav.compat.to_unicode(s, encoding='utf8')[source]

Convert binary data to unicode (text strings) on Python 2 and 3.