Unconditionally overwriting locale settings might have unintended consequences for the started LibreOffice program. Thus I have written two alternative patches:
1. libreoffice_bug62192_minimal_fix.patch
This fixes the offending 'ls' call only.
2. libreoffice_bug62192_involved_fix.patch
This saves the current LC_ALL setting, sets the POSIX locale for (most of) the script, and restores the original setting before exec'ing the LibreOffice binary.
The minimal fix seems quite safe, but the more invovled one should be tested on several different systems.
BTW, this bug is not reproducible with Debian GNU/Linux (checked, old stable, stable and unstable), because the GNU sed used copes with non-ASCII input.
Unconditionally overwriting locale settings might have unintended consequences for the started LibreOffice program. Thus I have written two alternative patches:
1. libreoffice_ bug62192_ minimal_ fix.patch
This fixes the offending 'ls' call only.
2. libreoffice_ bug62192_ involved_ fix.patch
This saves the current LC_ALL setting, sets the POSIX locale for (most of) the script, and restores the original setting before exec'ing the LibreOffice binary.
The minimal fix seems quite safe, but the more invovled one should be tested on several different systems.
BTW, this bug is not reproducible with Debian GNU/Linux (checked, old stable, stable and unstable), because the GNU sed used copes with non-ASCII input.