Hrvoje Niksic writes:
Charming. Why do we ever fall back to "iso-2022-jp" for
things we
send over the wire? Signalling an error would be kinder to the user
and her correspondents.
I agree, but that code is very old. When I wrote it I barely
knew what I was doing.