Search Postgresql Archives

Re: utf8 vs UTF-8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Troels Arvin <troels@xxxxxxxx> 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






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux