Search code examples
pimcore

It is recommended to install UTF-8 locale, otherwise all CLI calls which use escapeshellarg() will strip multibyte


I am installing Pimcore/demo application on [email protected] and received the error:

[ERROR] The following prerequisites failed It is recommended to install UTF-8 locale, otherwise all CLI calls which use escapeshellarg() will strip multibyte characters (see https://packages.debian.org/en/stable/locales-all)

How to solve this?


Solution

  • To solved it:

    brew install icu4c
    brew link --force icu4c
    

    Edit file:

    subl ~/.zshrc
    

    and added:

    export LC_ALL=de_DE.UTF-8

    export LANG=de_DE.UTF-8

    source ~/.zshrc
    

    Current State:

    After this for command:

    locale
    

    I have the following output:

    LANG=""
    LC_COLLATE="de_DE.UTF-8"
    LC_CTYPE="de_DE.UTF-8"
    LC_MESSAGES="de_DE.UTF-8"
    LC_MONETARY="de_DE.UTF-8"
    LC_NUMERIC="de_DE.UTF-8"
    LC_TIME="de_DE.UTF-8"
    LC_ALL="de_DE.UTF-8"
    

    Installation is successfull.