I have put one line into /var/lib/locales/supported.d/local :
pl_PL ISO8859-2

Then I rebuild locales (locale-gen) and locales were not working. This error 
was show also, so I've checked:
$ LC_ALL=pl_PL python -c "import locale; print locale.getpreferredencoding()"
ANSI_X3.4-1968

I don't like it. But it turns out that I've misspelled encoding, it should be
pl_PL ISO-8859-2

After:
# locale-gen --purge

$ LC_ALL=pl_PL python -c "import locale; print locale.getpreferredencoding()"
ISO-8859-2

Maybe it could help somebody.

-- 
command-not-found has crashed
https://bugs.launchpad.net/bugs/282446
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to