mkvmerge fails to run if LANG is set to en_US.UTF-8
I am running mkvmerge in a docker container that is used by an application. I have tried the following commands on an Ubuntu system and a Synology NAS.
I need to set LANG
for the application (FileFlows) to work because I have files with special characters and if I don't set LANG
then the Unicode characters are not parsed correctly.
- docker container run --rm -it ubuntu:mantic bash
- apt-get update && apt-get install mkvtoolnix -y
- mkvmerge --version (Works)
- export LANG="en_US.UTF-8"
- mkvmerge --version (Fails)
Error message:
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Aborted (core dumped)
The expected result is that setting LANG
does not cause the program to crash.