ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> writes:
> One problem is that we might not have enough information about OS
> encodings, at least we cannot determine it using a portable method.
That's probably because there is no such thing as an "OS encoding".
At least on most platforms, there isn't any such centralized setting.
regards, tom lane