On Sun, Nov 08, 2015 at 04:03:05AM -0700, bluesun08 wrote:
> But when i type "locale -a" i get:
> ...
> de_AT.ISO8859-1
> de_AT.ISO8859-15
> de_AT.UTF-8
> de_CH.ISO8859-1
> de_CH.ISO8859-15
> de_CH.UTF-8
> de_DE.ISO8859-1
> de_DE.ISO8859-15
> de_DE.UTF-8
> el_GR.ISO8859-7
> el_GR.UTF-8
> ...
>
> So the locale "de_DE.UTF-8" exist. What goes wrong?
These only apply to LC_CTYPE (character set) at present.
(See the locale(1) man page for a list of locale categories.)
The other LC_ categories are no-ops on OpenBSD (apart from
LC_MESSAGES which is handled by GNU gettext, and only for
ports and not the base system).
In the documentation this fact is hidden in the setlocale(3) man page:
BUGS
The current implementation supports only the "C" and "POSIX" locales for
all but the LC_CTYPE locale.