Re: utf8 vs UTF-8

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: utf8 vs UTF-8
Дата
в 13:51:49
Msg-id
2388205.1715953909@sss.pgh.pa.us
Ответ на
utf8 vs UTF-8 (Troels Arvin)
Список
Дерево обсуждения
utf8 vs UTF-8 Troels Arvin <troels@arvin.dk>
Re: utf8 vs UTF-8 Tom Lane <tgl@sss.pgh.pa.us>
Re: utf8 vs UTF-8 Troels Arvin <troels@arvin.dk>
Re: utf8 vs UTF-8 Adrian Klaver <adrian.klaver@aklaver.com>
Re: utf8 vs UTF-8 Tom Lane <tgl@sss.pgh.pa.us>
Re: utf8 vs UTF-8 Hans Schou <hans.schou@gmail.com>
Re: utf8 vs UTF-8 Troels Arvin <troels@arvin.dk>
Troels Arvin  writes:
> In a Postgres installation, I have databases where the locale is 
> slightly different. Which one is correct? Excerpt from "psql --list":

>   test1       | loc_test | UTF8     | libc            | en_US.UTF-8 | 
> en_US.UTF-8
>   test3       | troels   | UTF8     | libc            | en_US.utf8 | 
> en_US.utf8

On most if not all platforms, both those spellings of the locale names
will be taken as valid.  You might try running "locale -a" to get an
idea of which one is preferred according to your current libc
installation ... but TBH, I doubt it's worth worrying about.

			regards, tom lane


В списке pgsql-general по дате отправления
От: Hans Schou
Дата:
Сообщение: Re: utf8 vs UTF-8
От: arun chirappurath
Дата:
FAQ