The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

changing locale/$ENV{LANG} to a non-utf8 one

Discussion in 'General Discussion' started by Servia, May 12, 2005.

  1. Servia

    Servia Active Member

    Joined:
    Jan 20, 2004
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Finland
    Hi,
    I've have a problem with Finnish language in Webalizer. cPanel staff told me that changing locale/$ENV{LANG} to a non-utf8 one would propably solve the problem. This idea sounds good, but I don't have a clue how to change that thing..
    Could anyone with more experience about this stuff help me out?

    Pleeeease.. :)
     
  2. Servia

    Servia Active Member

    Joined:
    Jan 20, 2004
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Finland
    C'mon..
    Someone smart, give me some help :confused:
     
  3. rvskin

    rvskin Well-Known Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    400
    Likes Received:
    1
    Trophy Points:
    18
    On your SSH run

    root@server [~]# echo $LANG

    If there is something about utf8, you need to change it by

    root@server [~]# LANG=en_US; export LANG

    I don't know what's the locale for finnish, the en_US is for english in USA. Change it to your locale.

    You should also edit the file /etc/sysconfig/i18n, change the value for LANG to your locale.
     
  4. Servia

    Servia Active Member

    Joined:
    Jan 20, 2004
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Finland
    Thanks for the advice.
    I made the changes you suggested, but no luck with Webalizer in Finnish.

    Maybe the problem is elsewhere..

    Any ideas, anyone?
    http://forums.cpanel.net/showthread.php?t=38467 for more information about the problem.
     
  5. Servia

    Servia Active Member

    Joined:
    Jan 20, 2004
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Finland
    Still without solution for this problem.. :(
     
Loading...

Share This Page