utf8 issue?

Hi all!

Debian 11. Orthanc installed via APT.
Decide to upgrade it to 11x version

Upgraded Orthanc by instructions:
https://book.orthanc-server.com/users/debian-packages.html#id7

I’m using Utf8 encong
“DefaultEncoding” : “Utf8”,

And got error (?) in Orhtanc.log
E0310 15:31:36.704547 Toolbox.cpp:1499] Cannot set globale locale to en_US.UTF-8: locale::facet::_S_create_c_locale name not valid

locale said:
$ locale
LANG=uk_UA.UTF-8
LANGUAGE=
LC_CTYPE=“uk_UA.UTF-8”
LC_NUMERIC=“uk_UA.UTF-8”
LC_TIME=“uk_UA.UTF-8”
LC_COLLATE=“uk_UA.UTF-8”
LC_MONETARY=“uk_UA.UTF-8”
LC_MESSAGES=“uk_UA.UTF-8”
LC_PAPER=“uk_UA.UTF-8”
LC_NAME=“uk_UA.UTF-8”
LC_ADDRESS=“uk_UA.UTF-8”
LC_TELEPHONE=“uk_UA.UTF-8”
LC_MEASUREMENT=“uk_UA.UTF-8”
LC_IDENTIFICATION=“uk_UA.UTF-8”
LC_ALL=

Is this critical?

I take it you are not using Docker ? You might check you host system and see if you have any missing dependencies. You might be missing the parts of the locales package ? apt-get -y install locales and also set it to en_US.UTF-8.

ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

/sds

It’s native installation and choose Ukrainian language during Debian install.

$sudo dpkg-reconfigure locales
added en_US.UTF-8
restarted Orthanc and no error

Thanks!!!

Hello,

In theory, the locale “en_US.UTF-8” should be automatically added by the “postinst” script if installing the official Debian package:
https://salsa.debian.org/med-team/orthanc/-/blob/master/debian/postinst

Kind Regards,
Sébastien-