svn commit: r281129 - head/etc

Slawa Olhovchenkov slw at zxy.spb.ru
Thu Apr 9 23:40:30 UTC 2015


On Fri, Apr 10, 2015 at 02:27:11AM +0300, Dmitry Marakasov wrote:

> * Slawa Olhovchenkov (slw at zxy.spb.ru) wrote:
> 
> > I am talk not about using or not using utf-8.
> > I am talk about unconditionaly forcing switch from non-utf8 to utf-8
> > locale (FreeBSD-11 can be get not only be fresh install but and by
> > freebsd-update/source update on the live systems, with bunch files
> > witch content in koi8 and named in koi8).
> 
> We have to switch sometime, and I say now is a good time. There's
> high chance that default login class uses UTF-8 locale at some point
> (PC-BSD had that for couple of years already afaik), so the issue
> is not limited to russian or russian-utf8.

We don't have any default login class, other then 'dafault' and have
locale 'C'. What about you talk?

> System update is not a problem at all - major branch switch implies
> some attention, and converting file encodings or tuning default
> locale is just a little part of it. Since the latter is always an
> option, there's nothing to talk about here.

Do you this converting? I am do it.

> I don't think the project can lag behind and stay on crippled legacy
> solutions forever just because someone does not want to update.

What about you talk?
Just create new login class, 'russian_utf8', and have fun.
This is not windows. This is Unix.
Locale is not system-wide.
You can have multiple locales together.
What problems?

> > Also, some config files (from ports) have raw 8-bit characters inside.
> 
> They'll have to be converted based on OSVERSION/option.

You don't understund me.
This charters don't have any encodings/locales.
This is just octets.


More information about the svn-src-head mailing list