On Jan 26, 2012, at 9:43 PM, Andrey N. Oktyabrski wrote:
> On 27.01.12 05:02, Garrett D'Amore wrote:
>>>> I see value in preserving only ISO-8859-1 and ISO-8859-15, along with
>>>> UTF-8 which should serve the entire world. But before I start nuking
>>>> things, I want your opinion. Do you use these encodings with illumos
>>>> or Solaris?
>>> I use koi8-r & windows-1251 in the PostgreSQL and nginx. In the new
>>> projects I use utf-8 only, but I have some old code which I can't
>>> rewrite now.
>>
>> Do you just need support for the encodings (via iconv or whatever) or
>> do you need the actual locales to be present on the system?
> LC_* environment variables and lc_* postgresql.conf settings. At least, it
> affects collations.
Hmmm… we don't have cp1251 support at present. We do have have koi8-r, and I'm
happy to leave that alone if it is needed. (Notably I don't think we ever
bothered with koi8-u.) Do any of these projects run on illumos?
>
>> I'm thinking UTF-8 ought to be sufficient, but I confess I'm not sure
>> I understand why the encoding would matter at all for the login
>> locale -- except perhaps you might be interfacing with systems via
>> e.g. telnet or ssh, which don't support UTF-8 but have a legacy
>> locale. (Are such concerns still relevant?)
> I use utf-8 everywhere in the interactive shell. But some server software
> can't use multibyte locales.
Yes, its a good point. Admittedly that software is broken, as some locales
cannot be expressed in a single byte. :-)
- Garrett
>
>
> -------------------------------------------
> illumos-discuss
> Archives: https://www.listbox.com/member/archive/182180/=now
> RSS Feed: https://www.listbox.com/member/archive/rss/182180/22003744-45f01c1f
> Modify Your Subscription: https://www.listbox.com/member/?&
> Powered by Listbox: http://www.listbox.com
-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription:
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com