Hannu Krosing <hannu(at)skype(dot)net> writes:
> why not go all the way, and do utf-7 encoded header if hi bit is set ?
> or just always have an utf-8 encoded header.
That definition is (a) very expensive to scan, and (b) useless for
anything except utf-8 encoded text. Whatever mechanism we select should
be more flexible than that (eg, should work for inet values).
regards, tom lane