Re: Multibyte encoding vs. SQL_ASCII vs. locales and European languages

From: Einar Karttunen <ekarttun(at)cs(dot)helsinki(dot)fi>
To: Frank Joerdens <frank(at)joerdens(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Multibyte encoding vs. SQL_ASCII vs. locales and European languages
Date: 2002-01-29 17:29:25
Message-ID: 20020129172925.GA20118@shellak.helsinki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 29.01.02 18:00 +0100(+0000), Frank Joerdens wrote:
> On Tue, Jan 29, 2002 at 10:56:37AM -0500, Tom Lane wrote:
> > Frank Joerdens <frank(at)joerdens(dot)de> writes:
> > > Multibyte support is mainly recommended for character sets that don't
> > > fit into a single byte (Chinese, Japanese, Korean), and locale support
> > > is said to be mostly sufficient for European languages . . . what escapes
> > > me is why I should bother with either of these when SQL_ASCII works just
> > > fine with my mostly German users. I must be missing something, right?
> >
> > Sort ordering of non-7-bit-ASCII characters? upper/lower case
> > conversions that work as expected? locale-aware formatting options
> > in to_char and friends?
>
> Hm, yes. I overlooked that - and it *would* be useful (though no one's
> complained so far that their entries beginning with an umlaut don't
> appear in the list a the appropriate place, which is presumably partly
> due to the fact that not that many German words or names have an umlaut
> as their first character).
>
And how do we know, how the umlauts are supposed to be alphabetically
ordered without locales? Should Ä be between A and B as in Germany
or between Å and Ö in the end of the alphabet as in Scandinavia?

So the solution would be to have tables for each unibyte locale
specifying the sort order...

- Einar Karttunen

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Link 2002-01-29 17:37:48 Re: Upgrade 7.0.3 -> 7.1.3 problems!
Previous Message Frank Joerdens 2002-01-29 17:28:21 Re: Multibyte encoding vs. SQL_ASCII vs. locales and European languages