Skip Montanaro wrote: > Can't such re-encoding tools (whatever they are) be intelligent about > b"..."? If they are Python-aware that seems fairly trivial. If not, the > job is more difficult. What precisely should they do, though? A byte sequence in one encoding might be invalid in another. Regards, Martin