Hi,
I’m using ISO encoding for user.
LO opens files from terminal without any issue, but when Save As is used LO saves file with filename being encoded in UTF-8 and does not follow user environment.
Even
G_BROKEN_FILENAMES=1 G_FILENAME_ENCODING=ru_RU.ISO8859-5 LANG=ru_RU.ISO8859-5 soffice --calc
with following ‘Save As’ will give filename in UTF-8
Funny tho ‘Save As’ dialog sees both ISO and UTF existing filenames in destination folder properly, but from Terminal UTF-8 names are broken.
Kubuntu 18.04 / Ubuntu Server 18.04
locale output looks like this
LANG=ru_RU.ISO8859-5
LANGUAGE=
LC_CTYPE=ru_RU.ISO8859-5
LC_NUMERIC="ru_RU.ISO8859-5"
LC_TIME="ru_RU.ISO8859-5"
LC_COLLATE="ru_RU.ISO8859-5"
LC_MONETARY="ru_RU.ISO8859-5"
LC_MESSAGES="ru_RU.ISO8859-5"
LC_PAPER="ru_RU.ISO8859-5"
LC_NAME="ru_RU.ISO8859-5"
LC_ADDRESS="ru_RU.ISO8859-5"
LC_TELEPHONE="ru_RU.ISO8859-5"
LC_MEASUREMENT="ru_RU.ISO8859-5"
LC_IDENTIFICATION="ru_RU.ISO8859-5"
LC_ALL=
Environment
env | grep -E "LANG|LC_"
LANGUAGE=
LANG=ru_RU.ISO8859-5
LC_CTYPE=ru_RU.ISO8859-5