mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 19:41:33 +02: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:
committed by
Winston Li
parent
682a7e93ad
commit
e51576dff9
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user