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
1 vote
2 answers
264 views

How to delete emojis from Youtube filenames?

Im trying to remove emoticons from this Youtube filename: وسائل الاتصال الحديثة󾌧 📺 & 💻 😃 -eYrBcHOx2Jf.mp4 Im using perl -p -e 's/[^[:ascii:]]//g' and tr -dc '[:print:]' but got this; & -...
s3idani's user avatar
  • 365
0 votes
0 answers
33 views

I want to type music notes 🎵 in Chrome. How? [duplicate]

I use standard Ubuntu and I've downloaded Chrome. In social media I sometimes like to write song lyrics. Instead of using "quote marks" I want to use 🎵music notes🎵. I'm having trouble ...
Jason's user avatar
  • 583
1 vote
0 answers
39 views

Which tool is best in your opinion to convert decimal to ascii? [closed]

I have a problem in converting decimal to ascii or ascii to decimal. I used to convert it manually but it takes a lot of time.Please suggest a tool.
Alxender's user avatar
0 votes
1 answer
373 views

How to insert ascii characters into text - Xubuntu 22.04

Linux newbie here. On Windoze I sometimes insert individual ascii characters into a text using left Alt + a 3-digit code on the numeric keypad. Haven't found anything like that for Ubuntu. Is there? I ...
Hulda's user avatar
  • 81
0 votes
2 answers
700 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 ...
vignesh's user avatar
0 votes
0 answers
88 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 ...
Emre YILDIZ's user avatar
0 votes
0 answers
36 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 ...
Timecorps's user avatar
2 votes
1 answer
1k 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 ...
Bill's user avatar
  • 21
0 votes
0 answers
623 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 ...
David Moore's user avatar
2 votes
2 answers
5k 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 ...
wmora2's user avatar
  • 153
2 votes
3 answers
4k 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
483 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 ...
FinleyGibson's user avatar
1 vote
0 answers
444 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 ...
Juan's user avatar
  • 1,757
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 ...
MJimitater's user avatar
1 vote
0 answers
154 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 ...
Razvan's user avatar
  • 331
0 votes
1 answer
283 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)" ...
BlandCorporation's user avatar
1 vote
0 answers
60 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 ...
Lonnie Best's user avatar
  • 2,184
2 votes
1 answer
78 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 ...
John's user avatar
  • 21
3 votes
1 answer
3k 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 ...
Swedish ubuntugeek's user avatar
0 votes
1 answer
458 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 ...
uptoyou's user avatar
  • 867
2 votes
2 answers
6k 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 ...
h3ab74's user avatar
  • 121
0 votes
1 answer
1k 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 ...
Thomas Harper's user avatar
7 votes
1 answer
5k 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 ...
WinEunuuchs2Unix's user avatar
28 votes
5 answers
31k 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]?
Sessho's user avatar
  • 389
0 votes
1 answer
11k 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 ...
Logan Darby's user avatar
2 votes
1 answer
883 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 ...
abejon's user avatar
  • 81
16 votes
2 answers
2k 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 ...
aleskva's user avatar
  • 1,647
2 votes
1 answer
820 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 ...
user2280349's user avatar
5 votes
2 answers
4k views

Can gedit create a Unicode file?

Using bless I can see my gedit output is ASCII. Can gedit process some kind of Unicode?
H2ONaCl's user avatar
  • 9,593
1 vote
0 answers
293 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)?
Juan's user avatar
  • 1,757
40 votes
7 answers
30k 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 ...
TellMeWhy's user avatar
  • 17.3k
32 votes
7 answers
42k 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?
TellMeWhy's user avatar
  • 17.3k
1 vote
0 answers
74 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
683 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 ...
Talha's user avatar
  • 17
0 votes
1 answer
1k 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.
Eduard's user avatar
  • 103
0 votes
1 answer
970 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 ...
Robert's 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
29 votes
2 answers
52k 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 ...
Mohammad Reza Rezwani's user avatar
1 vote
1 answer
428 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 ...
Ramaprakasha's user avatar
1 vote
0 answers
371 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 ...
kokito's user avatar
  • 235
2 votes
1 answer
770 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.
PyRulez's user avatar
  • 336
8 votes
1 answer
28k 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 ...
PhoenixPerson's user avatar
1 vote
1 answer
6k 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 ...
Atomiklan's user avatar
  • 405
0 votes
1 answer
259 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-...
AndreasT's user avatar
  • 351
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 ...
euraad's 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 ...
hellocatfood's user avatar
  • 3,369
0 votes
1 answer
143 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 ...
Philippe's user avatar
0 votes
1 answer
332 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", ...
hcmak's user avatar
  • 3
12 votes
3 answers
20k 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?
Antony's 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 ...
varnaud's user avatar
  • 291