wsgidav.util.to_unicode_safe

wsgidav.util.to_unicode_safe(s)[source]

Convert a binary string to Unicode using UTF-8 (fallback to ISO-8859-1).