On 15.06.16 03:34, Terry Reedy wrote: > A null case is the only case where an encoding is not needed, but having > a special rule is not worth the trouble. It is needed even in null case. bytes('', 'utf-8') != bytes('', 'utf-16').