Skip to content
  • poljar's avatar
    _compat: Change the to_native_str into a to_unicode_str function. · 5e24c605
    poljar authored
    The to_native_str function was supposed to produce Unicode decoded
    native strings for python2 and python3.
    Upon further consideration this doesn't make much sense since under
    python2 it would need to decode the bytes into a Unicode string and turn
    it back into a python2 str.
    The ability to use the replacement character requires us to use a
    Unicode string under python2 as well.