We have `to_unicode` for this which works across verisions.