mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-06-07 13:11:41 +00:00
bd14dc3112
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.