why is `.encode('utf-8')` not enough?