From da2b09925f40e35bd53add672f6584cd78916e68 Mon Sep 17 00:00:00 2001 From: Benitoite Date: Tue, 3 Oct 2017 14:38:30 -0700 Subject: [PATCH] AppleLocale / executable loader fix Ref: https://github.com/Beep6581/RawTherapee/issues/4128 https://discuss.pixls.us/t/error-processing-queue-invalid-byte-sequence-in-conversion-input/1188/18 --- tools/osx/executable_loader.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/osx/executable_loader.in b/tools/osx/executable_loader.in index c36695d9e..b6025fe59 100644 --- a/tools/osx/executable_loader.in +++ b/tools/osx/executable_loader.in @@ -48,4 +48,7 @@ esac #fi #ln -sf "${app}" /tmp +AppleLocale=`defaults read -g AppleLocale` +export LANG=${AppleLocale%@*}.UTF-8 + exec "${cwd}/rawtherapee-bin" "$@"