Re: Unicode UTF-8 table formatting for psql text output - Mailing list pgsql-hackers

From Roger Leigh
Subject Re: Unicode UTF-8 table formatting for psql text output
Date
Msg-id 20091011203937.GG16499@codelibre.net
Whole thread Raw
In response to Re: Unicode UTF-8 table formatting for psql text output  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Unicode UTF-8 table formatting for psql text output
List pgsql-hackers
On Fri, Oct 09, 2009 at 04:35:46PM -0500, Kevin Grittner wrote:
> Peter Eisentraut <peter_e@gmx.net> wrote:
>
> > I think the setting ought be called linestyle unicode (instead of
> > utf8), since the same setting would presumably work in case we ever
> > implement UTF-16 support on the client side.
>
> Yeah, anytime one gets sloppy with the distinction between a character
> set and a character encoding scheme, one tends to regret it, sooner or
> later.  Here's we're talking about which glyphs to show -- that's
> based on a character set.

The attached updated patch renames all user-visible uses of
"utf8" to "unicode".  It also updates the documentation
regarding "locale" to "psql client character set encoding"
so the docs now match the code exactly.


Regards,
Roger

--
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Is FOR UPDATE an optimization fence?
Next
From: Alvaro Herrera
Date:
Subject: Re: man pages