Re: [HACKERS] UTF8 or Unicode

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: "Markus Bertheau ?" <twanger@bluetwanger.de>
Cc: Peter Eisentraut <peter_e@gmx.net>, Tatsuo Ishii <t-ishii@sra.co.jp>, tgl@sss.pgh.pa.us, dpage@vale-housing.co.uk, oliver@opencloud.com, zakkr@zf.jcu.cz, PostgreSQL-patches <pgsql-patches@postgresql.org>
Date: 2005-03-02T13:31:11Z
Lists: pgsql-hackers
Markus Bertheau ? wrote:
> ? ???, 26/02/2005 ? 15:50 -0500, Bruce Momjian ?????:
> 
> > Other than that the other conversion files were already named fine, e.g.
> > ascii_to_utf_8 (no UNICODE), however it is utf_8 and not utf8.  I am
> > unsure how to handle these.
> 
> General remark about the spelling of this encoding:
> 
> The correct encoding name is "UTF-8".
> 
> "The official name and spelling of this encoding is UTF-8, where UTF
> stands for UCS Transformation Format. Please do not write UTF-8 in any
> documentation text in other ways (such as utf8 or UTF_8), unless of
> course you refer to a variable name and not the encoding itself."
> 
> from
> 
> http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8

True, but Peter says the ANSI standard calls it UTF8 so that's what I
used.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073