Questions tagged [ascii]

ASCII is a 7 bit character set encoded in octal, decimal, and hexadecimal; it is an acronym of 'American Standard Code for Information Interchange'. There are 128 ASCII characters in the entire set, which was published in 1968 by the United States of America Standards Institute (USASI).

Filter by
Sorted by
Tagged with
0 votes
2 answers
98 views

Do I need to convert to gzip format or tar format?

$file ccache-2.4.tar.gz ccache-2.4.tar.gz: HTML document, ASCII text The file, ccache-2.4.tar.gz is in the ASCII test format ccache-2.4.tar.gz: not in gzip format tar: This does not look like a ...
user avatar
0 votes
0 answers
36 views

'ascii' codec can't decode byte 0xc4 in position 379: ordinal not in range(128)

I created an e-mail address, but when trying to check from the e-mail listing menu, I get the following error ‘ascii’ codec can’t decode byte 0xc4 in position 379: ordinal not in range(128) my ubuntu ...
user avatar
0 votes
0 answers
26 views

Keyboard Settings for ¨Dumb¨ Quotemarks (ASCII-34 and ASCII-39) for C Code

I have Ubuntu 21.10 (recently upgraded from 20.04) on an 8G RPi-4 connected to a touchscreen and a mini keyboard. Using the Budgie desktop and a USB power block as a battery it makes a very nice ...
user avatar
2 votes
1 answer
148 views

Typing in GPG key manually

Over a decade ago I exported my public and private keys (GnuPG v1.4.6), printed them, laminated them and put them in my safety deposit box. I did this under the theory that I could manually recovery ...
user avatar
  • 21
0 votes
0 answers
50 views

Encoding Issues while running python through vim?

I am currently facing a problem when executing :!python3 % in vim. :!python3 test_glove.py Traceback (most recent call last): File "test_glove.py", line 13, in <module> for line ...
user avatar
0 votes
0 answers
90 views

From where screenfetch logo ASCII call

I have converted a logo into ASCII using 'ascii-image-converter' following this command. ascii-image-converter -C logo_cis_icon.png -s I am using screenfetch with ZSH. In .zshrc file. I have added ...
user avatar
0 votes
0 answers
247 views

How does one remove all ANSI exit codes/non-ascii characters from a text file (or: how does one make ANSIescape work in Sublime)

I've tried dang near every sed command I could concoct, a bunch I found on here while searching for hints, and a few other random ideas, and I just can't figure it out. As some background, I've been ...
user avatar
2 votes
2 answers
2k views

How to remove all non-ASCII characters from files?

I want to remove all non-ASCII characters from all .tex files in a directory. I know I can use the code: LC_ALL=C tr -dc '\0-\177' <file >newfile for each single file, but I have 200 .tex ...
user avatar
  • 123
1 vote
3 answers
2k views

Convert ASCII to its decimal value

There is online tool that can convert text to ASCII such as this one. Would it be possible to do the same thing in Ubuntu/Linux? E.g. Input data: abc Output as ASCII: 097 098 099
user avatar
2 votes
1 answer
275 views

How to access directory with non-ascii, \n character in dir name

I have some data saved in a directory which has a non-ascii character in the name, how can I access the data within? The directory appears as: w0p6_t[[0.53.5]?[1.71.2]] But escaping the special ...
user avatar
1 vote
0 answers
241 views

How to get the old ASCII characters table CP437

I use Ubuntu Studio 19.10 and, even the fact that today we have a lot of new technologies, apps, etc... I really love to use old technology (DOSBox, HATARI, etc). In that line, I want to know how to ...
user avatar
  • 1,621
0 votes
0 answers
38 views

Why does pasting a certain character change the chronology of the characters in the whole row?

I've got this funny problem when trying to copy and paste the character٭ It doesn't let me get my cursor behind it and swapps the whole line of characters (see gif). Also the cursor has a funny ...
user avatar
1 vote
0 answers
101 views

Weird JPG file error

I have a .jpg file and I am not able to open it. If I am trying to open the file then I get the following: Error interpreting JPEG image file (Not a JPEG file: starts with 0x2d 0x6e) Also, the file ...
user avatar
  • 171
0 votes
1 answer
216 views

How can some binary expressed in ASCII 0s and 1s be converted to a binary file?

I've got a PDF expressed as an ASCII file of 0s and 1s, produced in the following way: filepath="Manna.pdf" data="$((echo obase=2; hexdump -ve'/1 "%u\n"' "${filepath}") | bc | xargs printf %08i)" ...
user avatar
1 vote
0 answers
52 views

Analyzing Characters in Ubuntu

I need a tool that can tell me the character encodings of each visible and invisible character from a range of characters I highlight within its editor. For example, a line break is usually \n in ...
user avatar
  • 2,042
2 votes
1 answer
74 views

accsessing ascii direct

in widows I used to open any txt editor - set Numlock active and while holding Alt using the number pad type 0169 and get the ascii copyright © - How do I get direct ascii access in Linux / Ubuntu ...
user avatar
  • 21
2 votes
1 answer
2k views

How to enable mtod and ascii art at ssh login?

I am running a ubuntu bionic beaver server on my 12 year old dell dimension e520 desktop as a media and file server. I use Juicessh android ssh client or putty on Windows to to connect to it and it ...
user avatar
0 votes
1 answer
181 views

Why does `file -i` determines file encoding as ASCII, however it is UTF-8 actually in git repository

There are two cases, which i confused about: If newly created file contains only latin symbols, then file -i will show us-ascii. If newly created file contains only latin and cyrillic symbols, then ...
user avatar
  • 826
2 votes
2 answers
5k views

Convert a string of characters to ascii values

I have been searching through the internet on how to do this but have failed to find a way to actually do it.. Basically, I have a series of large dataframes, and I wish to convert one of the column ...
user avatar
  • 121
0 votes
1 answer
999 views

How to enter hexadecimal values from the extended ASCII table

I am running Ubuntu 14.10, and I would like to enter characters from the console using hexadecimal code. To do this, I am using the combination Alt+ Shift+u+Hexcode. On my computer this works fine ...
user avatar
7 votes
1 answer
4k views

Windows Subsystem for Linux display Linux distribution?

There is the package screenfetch to display your Ubuntu distribution from the CLI with an ASCII splash screen: There is also a package called WinScreeny that will display a Windows logo when running ...
user avatar
26 votes
5 answers
25k views

What type of sequences are escape sequences starting with "\033]"

I found many escape sequences in Bash starting with \033], but what are these sequences and why are they starting with \033]?
user avatar
  • 369
0 votes
1 answer
10k views

Decoding Key Values from /dev/input/eventx in C [closed]

I have created a keylogger in C that displays the raw key values from an input device. I am wondering how I would go about decoding hese values into ascii characters? Here is my code so far: #include ...
user avatar
2 votes
1 answer
799 views

How can I make the file browser sort in ASCII order?

The so called "intelligent sorting" does not make any sense to me. It will put 1z in front of 0005abz. I would like to have sorting order like it used to be: 00056 00056aaa 004abc 03abc 2abc and not ...
user avatar
  • 81
16 votes
2 answers
1k views

How to name a file to be the very first in Nautilus?

New versions of Nautilus are cool, because they skip nonalphanumeric letters at the beginning of any file name and sort files according to the first alphanumeric letter (if any). But how to name a ...
user avatar
  • 1,637
2 votes
1 answer
674 views

How do I create a literal control character in Kate?

I frequently use the ASCII character 31 ( Unit Separator; Ctrl-_ ) as a field delimiter for the work that I do. Using the bash command line, I can enter a literal control character by pressing Ctrl-V ...
user avatar
5 votes
2 answers
3k views

Can gedit create a Unicode file?

Using bless I can see my gedit output is ASCII. Can gedit process some kind of Unicode?
user avatar
  • 9,133
1 vote
0 answers
119 views

How to Use Old Character Codes

How can we use Wine (to run Windows software under Linux) with the old character codes (not Unicode UTF-8)?
user avatar
  • 1,621
35 votes
7 answers
24k views

ASCII screensaver for the command-line or a TUI?

This question was closed due to being too broad, so I'll be more specific with regard to ASCII animations here =) Are there any ASCII animations that can be used as screensavers - either in the TUI ...
user avatar
  • 16.3k
31 votes
7 answers
33k views

ASCII animations that are viewed in the command-line? [closed]

I like ASCII animations and want to view them through a terminal window. What famous Linux programs and commands are suitable here to display ASCII animations or view videos in a terminal screen?
user avatar
  • 16.3k
1 vote
0 answers
67 views

Can I send ascii input through a dualshock 3

is it possible to send ascii input to a computer through a dualshock 3? I'm trying to play a telnet game called mtrek through a terminal with a controller.
user avatar
1 vote
1 answer
623 views

youtube-dl doesn't work after replacing the executable

I' ve installed youtube-dl before; it works fine; but i have delete it and install another one following this commands: sudo wget https://yt-dl.org/latest/youtube-dl -O /usr/local/bin/youtube-dl sudo ...
user avatar
  • 17
0 votes
1 answer
902 views

List ASCII text files

I want to list and sort all the files in a directory that are ASCII text files but don't necessarily have a .txt extension. How can I do this? I'm new to shell scripting.
user avatar
  • 103
0 votes
1 answer
885 views

How to search ASCII text with Ubuntu Terminal

I have a file in which when I use the file myFile I get returned myFile: ASCII text, with very long lines I then proceeded to open it up as a .txt file and it opens up in notepad as a lot of ip ...
user avatar
  • 3
3 votes
2 answers
2k views

Unable to get aview to produce an image

I have installed aview the ASCII art image viewer with: sudo apt-get install aview But now when I run it with: aview /path/to/image.extension I get this: Invalid magic-not p?m family format I ...
user avatar
25 votes
2 answers
45k views

How to see list of ASCII code on the terminal

Once on a web site, I saw one command which shows the list of all ASCII codes on the terminal. But now I forgot that website and also that command. I need the list of them. Is there a command which ...
user avatar
1 vote
1 answer
392 views

PROBLEM : Unicode data corrupted from ascii program

I was using html2text program to extract unicode devanagari from html file. But it is giving output as, "शà¥à¤°à¤¦à¥à¤§à¤§à¤¾à¤¨à¤¾à¤¨à¤¾à¤". In Windows I would rectify this by using convert ...
user avatar
1 vote
0 answers
363 views

does ubuntu 14.04 use ascii-armor and how to turn it on/off?

does ubuntu 14.04 use ascii-armor and how to turn it on/off? the purpose is to test some exploit and knowing that would help, I'm still in the learning process. I'm already aware of the stack ...
user avatar
  • 235
2 votes
1 answer
696 views

ASCII art generator with OCR

What program can turn an image into ASCII-art, but also replace any text with the actual text with OCR. For example, for converting a comic to ASCII art.
user avatar
  • 326
8 votes
1 answer
25k views

How to Triforce on /b/ on ubuntu

How can you type three triangles in the shape of a triangle? So a ascii art of the Triforce from Zelda using the triangle symbol. /b/ is a image board on 4chan. Text on this image board is edited by ...
user avatar
1 vote
1 answer
5k views

Special characters in /etc/issue

For some reason the color escape characters in my /etc/issue file are not working. They're being displayed as text: Here is the content of the file: ^[[1;31mUbuntu^[[0m And it outputs the exact ...
user avatar
  • 384
0 votes
1 answer
207 views

Problem with recursive rar archiving non-ascii filenames

Say I want to create a backup of folder MainFolder's content using rar. The command rar a Backup.rar -r MainFolder does the job. BUT, if a subdirectory contains more than one file named with non-...
user avatar
  • 341
4 votes
2 answers
1k views

Cannot run sudo update-manager

I cannot run sudo update-manager. I dont know whats wrong. Do you know? (precise)acer@localhost:~$ sudo update-manager [sudo] password for acer: (process:5761): Gtk-WARNING **: Locale not supported ...
user avatar
  • 217
2 votes
2 answers
2k views

Is there a command-line program that can convert an image to an ASCII art image?

Is there a command-line program that can convert an image to ascii art and then save that output as an image e.g. jpg or png? To illustrate what I'm in need of, I want to convert the image below into ...
user avatar
  • 3,251
0 votes
1 answer
134 views

Transfering a file with cat changes it

I am trying to transfer some video from a embedded linux + camera to my computer through an USB cable. What I am doing is cat file > /dev/ttyGS0 on the card side and cat /dev/ttyACM0 > file on ...
user avatar
0 votes
1 answer
320 views

Tried to use deja-dup for backup, but it give the following error(UnicodeDecodeError: 'ascii')

Is there a way to find the filenames that is causing this error? Traceback (most recent call last): File "/usr/bin/duplicity", line 1404, in with_tempdir(main) File "/usr/bin/duplicity", ...
user avatar
  • 3
12 votes
3 answers
17k views

How can I have my terminal start with an ASCII banner? [duplicate]

How can I have my terminal in Ubuntu start with an ASCII banner every time from default?
user avatar
  • 121
4 votes
1 answer
6k views

Alt + ASCII code like in Windows [duplicate]

Possible Duplicate: Ways to enter special characters? Is Alt+Numpad possible? Is there a way to do Alt+ASCII code for typing ASCII code in Ubuntu like one can do in Windows? If so, then how to do ...
user avatar
  • 281
62 votes
2 answers
111k views

How can I type ASCII characters like Alt + numpad in Windows? [duplicate]

On Windows, the key combination Alt + 2+ 5+ 5 creates a blank space. How can I achieve this on Ubuntu?
user avatar
  • 631
7 votes
3 answers
4k views

Text inside files has squares with numbers in it

Some text files I come across, have little squares with numbers in them (in place of certain characters). I am unable to copy and paste these in Ubuntu, but may search and replace in gedit each ...
user avatar
  • 2,357