Setting LANG env on Ubuntu

Setting LANG env on Ubuntu

Michael Ben-Nes michael at epoch.co.il
Fri Sep 25 16:27:03 IDT 2009


When it comes to Ubuntu,  http://ubuntuforums.org/ is your friend.

--------------------------------------------------
Michael Ben-Nes - Internet Consultant and Director.
http://www.epoch.co.il - weaving the Net.
Cellular: 054-4848113
--------------------------------------------------


2009/9/25 Shachar Shemesh <shachar at shemesh.biz>

>  David Harel wrote:
>
> Hi,
>
> I use Ubuntu Jaunty release 9.04.
> On my last attempt to update openoffice to 3.1 (from repository:
> http://ppa.launchpad.net/openoffice-pkgs/ppa/ubuntu) I noticed that
> openoffice can't do Hebrew file names anymore. I also got some warnings from
> other tools such as digikam regarding locale settings.
> Digging into this problem I noticed that my LANG env is set to "C":
> $ echo $LANG
> C
>
> When I set it to: LANG=en_US.UTF-8 , both openoffice and digikam were fine.
> I also noticed that when I login on text mode (such as ssh localhost) I get
> the LANG settings as expected: en_US.UTF-8
>
> Also I just tried to update my system  and I tried to remove all my dot
> files and I tried to switch from xfce4 to Gnome but nothing seems to
> resolve this problem.
> Any idea?
>
> I don't know about Ubuntu, but in Debian these variables are set either in
> /etc/default/locale or /etc/environment. Also, the "official" way of
> changing those is by doing "dpkg-reconfigure locales" as root.
>
> Hope this helped.
>
> Shachar
>
> --
> Shachar Shemesh
> Lingnu Open Source Consulting Ltd.http://www.lingnu.com
>
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090925/13f90171/attachment-0001.html>


More information about the Linux-il mailing list