-
kytv authored
Check for /etc/environment and /etc/default/locale and retrieve/set locale variables from them--but only if LANG is unset. This should help in those cases in which someone is starting I2P as a daemon using an initscript and I2P is starting /before/ the environment is configured, leading to the wrong file encoding being detected.
kytv authoredCheck for /etc/environment and /etc/default/locale and retrieve/set locale variables from them--but only if LANG is unset. This should help in those cases in which someone is starting I2P as a daemon using an initscript and I2P is starting /before/ the environment is configured, leading to the wrong file encoding being detected.