I noticed lately that $LANG is no longer set by default on my system. Seems that it is defined correctly in /etc/defaults and when changing to root it is also defined, but it is not defined for the default user seems like some programs get confused by the lack of a default encoding thanks