Use str when unicode is unavailable