Re: Mac ordering with locales

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pascal Cohen <pcohen(at)wimba(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Mac ordering with locales
Date: 2008-02-22 15:16:04
Message-ID: 20080222151604.GD15579@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Feb 21, 2008 at 11:14:58AM -0800, Jeff Davis wrote:
> I have looked for a standard related to the locale behavior and I was
> surprised that I couldn't find one. Is a given locale, e.g. en_US,
> supposed to have identical behavior on any platform for which it's
> available?
>
> If there is a standard of some kind, is apple violating it?

Nope. If there were we could complain about it. All we have now is many
different implementations. The most commonly used ones are Java, ICU,
glibc and Windows. AIUI all except Windows understand the xx_XX format.
Java and ICU are essentially the same.

I found a note that both Perl6 and PHP6 may use ICU. That would be an
interesting change.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Those who make peaceful revolution impossible will make violent revolution inevitable.
> -- John F Kennedy

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-02-22 15:24:32 Re: Function parameters change when update to 8.3
Previous Message Andreas Kendlinger 2008-02-22 15:05:02 plpgsql function