Re: Problem with locales on Linux with 9.3.4

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: Problem with locales on Linux with 9.3.4
Дата
Msg-id CAKrjmhfj1RWToekU9bT81R06tNTk_oEpm1+xSHJX3AY_YRfQWQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Problem with locales on Linux with 9.3.4  (Adrian Klaver <adrian.klaver@aklaver.com>)
Ответы Re: Problem with locales on Linux with 9.3.4
Список pgsql-general
Seems I now have the locale. Too bad I had to delete the "bad" databases earlier.

Thanks Adrian,

depesz


On Sat, Jun 7, 2014 at 7:16 PM, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 06/07/2014 08:17 AM, hubert depesz lubaczewski wrote:
localedef --no-archive, requires additional argument, and then it waits
on something. I'm definitely not an locale expert, so I have no idea
what it does. There is "locale-gen" option "--no-archive", too, but when
I run "locale-gen --no-archive", I just get:

# locale-gen --no-archive
Generating locales...
   cs_CZ.UTF-8... up-to-date
   de_DE.UTF-8... up-to-date
   en_GB.ISO-8859-1... up-to-date
   en_GB.ISO-8859-15... up-to-date
   en_GB.UTF-8... up-to-date
   en_US.UTF-8... up-to-date
   pl_PL.UTF-8... up-to-date
   sk_SK.UTF-8... up-to-date
Generation complete.

And nothing changes.

Should have been clearer on my previous post, the dpkg command is for use after locale-gen.

Missed the part where you ran localedef until I reread the post. localedef is looking for the following, from example in man page:

EXAMPLES

       Compile the locale files for Finnish in the UTF-8 character set and add
       it to the default locale archive with the name fi_FI.UTF-8:

              localedef -f UTF-8 -i fi_FI fi_FI.UTF-8

Where:
         localedef [options] outputpath

and outpath with --no-archive is by default  /usr/lib/locale
otherwise outpath is /usr/lib/locale/locale-archive



depesz




--
Adrian Klaver
adrian.klaver@aklaver.com

В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Problem with locales on Linux with 9.3.4
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Problem with locales on Linux with 9.3.4