Unprintable characters in CLI

Discussion in 'General Linux' started by Ari Passopolis, Jan 19, 2014.

  1. Ari Passopolis

    Ari Passopolis New Member

    Messages:
    3
    Likes Received:
    4
    Trophy Points:
    3
    When I run the command "sudo update-initramfs -u -k all" on an Ubuntu box I get output like:

    update-initramfs: Generating /boot/initrd.img-3.5.0-40-generic
    /usr/sbin/mkinitramfs: 1: /etc/initramfs-tools/conf.d/ubuntu-sunrise.jpg: ����JFIF��: not found
    /usr/sbin/mkinitramfs: 2: /etc/initramfs-tools/conf.d/ubuntu-sunrise.jpg: cannot open .342��C: No such file
    /usr/sbin/mkinitramfs: 2: /etc/initramfs-tools/conf.d/ubuntu-sunrise.jpg:


    Anyone know what's going on? This happened with the standard system font and also when I changed the terminal font to Consolas.
    DevynCJohnson likes this.
  2. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,391
    Likes Received:
    454
    Trophy Points:
    83
    This is probably either a font issue or an encoding issue (Unicode vs ASCII vs ...)
    DevynCJohnson likes this.
  3. MikeyD

    MikeyD Active Member

    Messages:
    232
    Likes Received:
    113
    Trophy Points:
    43
    Agreed.

    See what the value of your LANG environment variable is...
    Code:
    echo $LANG
    If it isn't something like .....UTF-8 then those are most likely unicode characters that can't be interpreted by the CLI.
    DevynCJohnson likes this.

Share This Page