From: Palle Girgensohn <girgen@partitur.se>
To: Oleg Bartunov <oleg@sai.msu.su>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: need asap: bg_BG locale for FreeBSD
Date: Mon, 11 Sep 2000 15:51:23 +0200
Message-ID: <39BCE35B.CE42BDBC@partitur.se> (raw)
References: <Pine.GSO.3.96.SK.1000911103630.4205K-100000@ra>
Oleg Bartunov wrote:
>
> Hi,
>
> I'm going to Bulgaria this week to setup FreeBSD server running
> postgres and would like to know if somebody has an experience
> with postgres and bulgarian locale. Actually, I need
> bg_BG locale for FreeBSD. interesting that searching for
> subject in internet doesn't provide any information.
> The only thing I found is bg_BG locale for Linux (Redhat)
I created a Swedish LC_COLLATE locale part for FreeBSD a while
back, with the specific purpose of using it with PostgreSQL,
and it was not very hard.
For sorting stuff:
Check /usr/src/share/colldef (the sorting algoritm is defined
by LC_COLLATE). I don't anything about bulgarian, though. Is it
using cyrillic characters? Try using one of the russion locales
to start with.
For character representation (LC_CTYPE), I have no experience,
but it should also be fairly easy. Maybe Bulgarian uses a
similar character set to for example Russian? You will only
need a character locale for each Check /usr/src/share/mklocale
For a complete locale, you would also need timedef
(/usr/src/share/timedef).
colldef(1) is man page to check for sorting (collate)...
mklocale(1) is for locale creation.
Good luck!
Palle
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: girgen@partitur.se, oleg@sai.msu.su, pgsql-hackers@postgresql.org
Subject: Re: need asap: bg_BG locale for FreeBSD
In-Reply-To: <39BCE35B.CE42BDBC@partitur.se>
References: <Pine.GSO.3.96.SK.1000911103630.4205K-100000@ra> <39BCE35B.CE42BDBC@partitur.se>
* 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