Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Debian dialog windows look ugly

trexostrexos Member
edited May 2014 in General

Hello,

I just installed debian 7 on another box and the dialog windows look ugly:

I already tried apt-get install dialog but it's installed.

What could I do?

Thanked by 1support123
«1

Comments

  • Ain't that normal?

  • InfinityInfinity Member, Host Rep

    What SSH client do you use? Have you set it to use UTF-8?

  • M66BM66B Veteran

    Maybe the settings of your terminal emulator are the problem.

  • trexostrexos Member

    @IceCream said:
    Ain't that normal?

    Normal it's without these qqqqqqqqqqqqqqqqqqq

    @Infinity said:
    What SSH client do you use? Have you set it to use UTF-8?

    I use putty on Windows and this is the only box where it looks like that.

  • nerouxneroux Member

    Is this local output or via a remote session?

  • msg7086msg7086 Member
    sudo dpkg-reconfigure locales
    

    tick the en_US.UTF-8 or something else.UTF-8, and set it to default locale.

  • trexostrexos Member

    @msg7086 said:
    sudo dpkg-reconfigure locales

    tick the en_US.UTF-8 or something else.UTF-8, and set it to default locale.

    Tried this and even generated the en_US.UTF-8 locals but still looks the ugly way :/

  • msg7086msg7086 Member

    @trexos said:
    Tried this and even generated the en_US.UTF-8 locals but still looks the ugly way :/

    Did you try logout/login?

  • MicrolinuxMicrolinux Member
    edited May 2014

    If you're accessing it remotely, likely wrong character set in your terminal program.

  • trexostrexos Member

    @msg7086 said:
    Did you try logout/login?

    Yeah even rebooted.

    @Microlinux said:
    If you're accessing it remotely, likely wrong character set in your terminal program.

    It is, I use Putty but UTF-8 is selected.

  • RazzaRazza Member
    edited May 2014

    I had this problem on one of my server, the way i fix by useing dpkg-reconfigure locales and setting the default locale to a UTF-8 one, in putty on the Window Translation tab set Received data assumed to be in which character set to UTF-8 and on Connection Data tab set Terminal-type string to putty

  • msg7086msg7086 Member
    locale
    

    Have a look at the locale settings and see if everything points to en_GB.UTF-8.

    If not, you can overwrite them manually.

  • trexostrexos Member

    @Razza said:
    I had this problem on one of my server, the way i fix by useing dpkg-reconfigure locales and setting the default locale to a UTF-8 one, in putty on the Window Translation tab set Received data assumed to be in which character set to UTF-8 and on Connection Data tab set Terminal-type string to putty

    didn't work for me :/

    @msg7086 said:
    locale

    Have a look at the locale settings and see if everything points to en_GB.UTF-8.

    If not, you can overwrite them manually.

    LANG=en_US LANGUAGE= LC_CTYPE="en_US" LC_NUMERIC="en_US" LC_TIME="en_US" LC_COLLATE="en_US" LC_MONETARY="en_US" LC_MESSAGES="en_US" LC_PAPER="en_US" LC_NAME="en_US" LC_ADDRESS="en_US" LC_TELEPHONE="en_US" LC_MEASUREMENT="en_US" LC_IDENTIFICATION="en_US" LC_ALL=

    looks good :/

  • rds100rds100 Member

    export LANG=en_US.UTF-8
    reset

  • trexostrexos Member

    @rds100 said:
    export LANG=en_US.UTF-8
    reset

    didn't change anything :/

  • msg7086msg7086 Member
    edited May 2014

    @trexos said:
    looks good :/

    No not good. It displays as en_US but should be en_US.UTF-8

    As @rds100 suggested, try

    export LANG=en_US.UTF-8
    export LC_ALL=en_US.UTF-8
    reset
    
  • trexostrexos Member

    @msg7086 said:
    reset

    It shows now:
    LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=

    Now, but error isn't fixed :/

  • rds100rds100 Member

    And what's $TERM set to?

  • trexostrexos Member
    edited May 2014

    @rds100 said:
    And what's $TERM set to?

    How can I check this?
    I just checked apt-get install xterm and it looks like that package is not installed.

  • RazzaRazza Member

    @trexos use echo $TERM

  • echo $TERM

  • trexostrexos Member

    it says xterm now, I did apt-get install xterm before.

  • rds100rds100 Member

    I don't know what kind of terminal emulation putty uses? vt220? vt100? Anyone with windows and putty who can check?

  • trexostrexos Member

    @rds100 said:
    I don't know what kind of terminal emulation putty uses? vt220? vt100? Anyone with windows and putty who can check?

    terminal-type string it says: xterm

  • rds100rds100 Member

    @trexos try to change it to vt220, then reconnect and see if it makes any difference?

  • trexostrexos Member

    @rds100 said:
    trexos try to change it to vt220, then reconnect and see if it makes any difference?

    Didn't change anything :/

  • msg7086msg7086 Member
    $ echo $TERM
    linux
    

    I'm not sure if this makes difference.

  • trexostrexos Member

    @msg7086 said:
    $ echo $TERM
    linux

    I'm not sure if this makes difference.

    I don't understand what I should do with this

  • trexostrexos Member

    nobody?

  • howardsl2howardsl2 Member
    edited May 2014

    See:
    http://unix.stackexchange.com/questions/28515/tui-interfaces-not-displaying-correctly

    Also read comments below the first answer. By the way, if you use SecureCRT, in options, Terminal - Appearance: check Use Unicode line-drawing characters

Sign In or Register to comment.