mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-07 05:34:01 +00:00
ensure LANG is set to a UTF-8 locale
Otherwise, all input is assumed to be ASCII by default, which causes UTF-8 characters to be replaced by question marks. "C.UTF-8" the C locale with the UTF-8 codeset.
This commit is contained in:
parent
682a7e93ad
commit
e51576dff9
1 changed files with 3 additions and 2 deletions
|
@ -54,8 +54,9 @@ do_start()
|
|||
return 1;
|
||||
fi
|
||||
echo "Starting WriteLatex-Git Bridge..."
|
||||
start-stop-daemon --start --quiet --make-pidfile --pidfile $PIDFILE --exec $DAEMON -- \
|
||||
$DAEMON_ARGS >> /var/log/wlgb/out.log 2>> /var/log/err.log &
|
||||
start-stop-daemon --start --quiet --make-pidfile --pidfile $PIDFILE \
|
||||
--exec /usr/bin/env LANG="C.UTF-8" $DAEMON -- \
|
||||
$DAEMON_ARGS >> /var/log/wlgb/out.log 2>> /var/log/err.log &
|
||||
echo "WriteLatex-Git Bridge started."
|
||||
echo "Config file at /etc/wlgb/config.json"
|
||||
echo "Log file at /var/log/wlgb/out.log"
|
||||
|
|
Loading…
Add table
Reference in a new issue