Results 1 to 3 of 3

Thread: strange characters in CLI

  1. #1
    Join Date
    Dec 2007
    Beans
    7

    strange characters in CLI

    Hi

    I just got a new remote server and am doing the initial set-up and admin. I get strange characters when doing apt-get upgrade:

    E.g.

    Fetched 6Â*525 kB in 2s (2Â*794 kB/s)
    Get:3 http://za.archive.ubuntu.com/ubuntu/ quantal-updates/main libperl5.14 amd64 5.14.2-13ubuntu0.1 [1Â*226 B]

    I'm not sure what this could be caused by. You can see the 6Â and 2Â and 1Â in the above examples. As this is going to be a production hosting server I need to make sure that this isn't something that may bite me in the a** later on in the set-up and install. In the CLI there are no * as shown above, so not sure why a copy and paste would place them there.

    Any pointers would be greatly appreciated.
    Brenton

  2. #2
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: strange characters in CLI

    Software on the remote server doesn't use Unicode (UTF-8), but the terminal you ssh from does, or vice versa. Maybe luit from the package x11-utils will help:
    Code:
    LC_ALL=C luit ssh legacy-machine
    Â* is crippled thousands separator.
    Last edited by schragge; March 7th, 2013 at 03:59 PM.

  3. #3
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: strange characters in CLI

    schragge pretty much nailed it.

    If you are using Putty on Windows, it defaults to Latin-1 instead of UTF-8. You can change that from Window > Translation.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •