OS Locale UTF-8

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: OS Locale UTF-8
Date: 2005-04-11 23:24:05
Message-ID: 1113261845.16721.1296.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

I have access to a system with locale of UTF-8. cvstip would no longer
initdb on this system, as a result of recent renaming of UTF-8 to UTF8.

i.e.
[userid(at)systemname ~]$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

OS is Fedore Core 3.

Attached patch adds UTF-8 as a synonym for UTF8, so initdb works again
without needing to specify an encoding, just like it used to.

Whatever we call UTF*8, there will always be somebody who says
different.

Best regards, Simon Riggs

Attachment Content-Type Size
initdbutf-8.patch text/x-patch 435 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2005-04-11 23:47:13 Re: OS Locale UTF-8
Previous Message Simon Riggs 2005-04-11 21:41:05 Exec statement logging