pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Mridul Mathew <mridulmathew@gmail.com>
To: ringerc@ringerc.id.au
Cc: rajeshwarbharathi@gmail.com
Cc: pgsql-admin@postgresql.org
Subject: Re: FW: Character set equivalent for AL32UTF8
Date: Wed, 10 Aug 2011 13:42:25 -0500
Message-ID: <4E428AC1020000250003FD63@gw.wicourts.gov> (raw)
In-Reply-To: <CAFm5QJwk3N5+5g2whZBUee2jHmNssxO98ybBreDLLUDQHh7zuA@mail.gmail.com>
References: <0149564b-0eea-4ed9-8521-0ab6efec2a4d@glegroupsg2000goo.googlegroups.com>
	<4E422305.6070404@ringerc.id.au>
	<CAGfGJpgY+BmHhJmObc65bAi2WKrBGtnFo-kxs0GPQbFZ+M-C-g@mail.gmail.com>
	<8491208A5EFFB84A841235D93FDAC98E76DBEDFD@EXCHANGE.fiberlink.local>
	<CAFm5QJwk3N5+5g2whZBUee2jHmNssxO98ybBreDLLUDQHh7zuA@mail.gmail.com>

Mridul Mathew <mridulmathew@gmail.com> wrote:
 
> From: *Craig Ringer* <ringerc@ringerc.id.au>

>> A 30-second Google search turned up this:
>>
>>
http://decipherinfosys.wordpress.com/2007/01/28/difference-between-utf8-and-al32utf8-character-sets-...

> If supplementary characters are inserted in a UTF8 database, they
> will be treated as 2 separate undefined characters, occupying 6
> bytes in storage. Oracle recommends using al32utf8 for any newly
> defined supplementary characters.
> 
> Does PostgreSQL make a distinction within Unicode in a similar
> fashion?
 
It sounds as though Oracle initially failed to properly implement
the UTF-8 character encoding scheme, but rather than fix the broken
scheme they created an alternative.  So far as I know, PostgreSQL
should be using proper UTF-8 encoding if you ask for it, without any
special gyrations.
 
-Kevin



view thread (5+ messages)

Message-ID: <4E428AC1020000250003FD63@gw.wicourts.gov>
Permalink:  ../4E428AC1020000250003FD63@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4E428AC1020000250003FD63@gw.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, mridulmathew@gmail.com, ringerc@ringerc.id.au, rajeshwarbharathi@gmail.com
  Subject: Re: FW: Character set equivalent for AL32UTF8
  In-Reply-To: <4E428AC1020000250003FD63@gw.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox