I have added new backslash command \eset and \eshow to psql.
(only enabled if --enable-multibyte specified)
Modified files are help.c and command.c.
-------------------------------------------------------------------
o \eset <encoding>
change the client encoding to <encoding>. This is actually
PQsetClientEncoding + pset.encoding (psql internal data) change. Now
user can change the client side encoding on the fly, that is not
possible before 7.0.
o \eshow
show the client encoding.
-------------------------------------------------------------------
--
Tatsuo Ishii