is about a locale issue during a foreman setup on CentOS 7.
locale environment variables were bad; continuing with LANG=C
In my case the output of locale -a showed en_US.utf8 but the output of env and the line line in /etc/locale.conf reads different.
en_US.UTF-8 which seams to be wrong or not translated correctly.
Long Story short, either export the correct settings or update the /etc/locales.conf file so that it read like this for example