Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    156
    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:
    156
    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:
    168
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Servia

    Servia Active Member

    Joined:
    Jan 20, 2004
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    156
    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:
    156
    Location:
    Finland
    Still without solution for this problem.. :(
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice