forked from I2P_Developers/i2p.i2p

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.