Date: Mon, 15 Oct 2018 22:49:49 -0700 From: Martin Paredes <mapsware@prodigy.net.mx> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Add a locale to FreeBSD 10.0 server Message-ID: <20181015224949.4ac1fd0a@morena.maps.net>
next in thread | raw e-mail | index | archive | help
In FreeBSD 10.0 there is not a locale that I want
user@server10 ~% locale -a | grep es_MX
But in FreeBSD 11.2 it is there
user@server11 ~% locale -a | grep es_MX
es_MX.ISO8859-1
es_MX.UTF-8
I tar the subdirectorys in server11 and untar in server10
/usr/share/locale/es_MX.ISO8859-1
/usr/share/locale/es_MX.UTF-8
My .login_conf files has
me:\
:charset=3Diso-8859-1:\
:lang=3Des_MX.ISO8859-1:
Now in the console I can type =F1 and =D1, but "psql -l" (List of
databases in PostgreSQL) doesn't display characters correctly (an ? are
displayed)
The second column is Owner, in spanish is Due=F1o, but is displayed Due?o
But if I change to es_ES.ISO8859-1, "psql -l" display character
correctly
Some config is missing becasue LC vars are initialized different
user@server10 ~% locale
LANG=3Des_MX.ISO8859-1
LC_CTYPE=3DC
LC_COLLATE=3DC
LC_TIME=3DC
LC_NUMERIC=3DC
LC_MONETARY=3DC
LC_MESSAGES=3DC
LC_ALL=3D
user@server11 ~% locale
LANG=3Des_MX.ISO8859-1
LC_CTYPE=3D"es_MX.ISO8859-1"
LC_COLLATE=3D"es_MX.ISO8859-1"
LC_TIME=3D"es_MX.ISO8859-1"
LC_NUMERIC=3D"es_MX.ISO8859-1"
LC_MONETARY=3D"es_MX.ISO8859-1"
LC_MESSAGES=3D"es_MX.ISO8859-1"
LC_ALL=3D
-TIA
--=20
Martin Paredes
Hermosillo, Son. Mexico
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181015224949.4ac1fd0a>
