Locale charmap ANSI_X3.4-1968 instead of UTF-8

  • Hi,

    I think there is a bug about the Locale addon, it is not working as expected.

    LibreElec 8.90.009

    Odroid C2/aarch64

    Locale addon 9.0.102

    Lastly, I updated from LE 8.2.5 and everything is ok except that my locale is not set properly.

    The Locale addon settings are : fr_FR and UTF-8.

    Here is what i get on ssh :

    Code
    LibreELEC:~ # locale -a
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_COLLATE to default locale: No such file or directory
    C
    POSIX
    Code
    LibreELEC:~ # locale -m
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: failed to set locale!
    locale: [error] cannot read character map directory `/usr/share/i18n/charmaps': No such file or directory
    Code
    LibreELEC:~ # locale charmap
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    ANSI_X3.4-1968

    charmap is ANSI_X3.4-1968 but it should be UTF-8. Some addon complain about it.
    Logs : log-2018-12-16-14.39.07.zip

    Edited 3 times, last by excalibur (December 16, 2018 at 3:04 PM).

  • Ok, I uninstalled locale again, reboot, reinstall. And now it seems to be ok.

    LibreElec 9.0.0

    locale addon 9.0.102

    I have this :

    Except the error message, I can say it's all good.

    Maybe there was a bug in LibreElec 9 beta 9.