On Tue, 15 Dec 2020 01:15:35 +0000
James Cook <falsif...@falsifian.org> wrote:

> FYI I tried setting LC_CTYPE to a supported value (en_US.UTF-8) while
> keeping LANG at the unsupported en_CA.UTF-8 but that wasn't enough.
> 
> Admittedly I had read that FAQ entry and ignored the recommendation,
> based on some wishful thinking. Now I will take it more seriously.

The FAQ [1] recommends en_US.UTF-8, but en_CA.UTF-8 should also work,
because man locale [2] says,

| If the value of LC_CTYPE ends in ‘.UTF-8’, programs in the OpenBSD
| base system ignore the beginning of it, treating for example
| zh_CN.UTF-8 exactly like en_US.UTF-8.

I don't know why en_CA.UTF-8 would crash abiword; I wonder if abiword
is confused because en_CA.UTF-8 and en_US.UTF-8 are not really
different locales in OpenBSD's libc.    --George

[1] https://www.openbsd.org/faq/faq8.html#locales
[2] https://man.openbsd.org/man1/locale.1

Reply via email to