Questions tagged [ascii]

American Standard Code for Information Interchange is a character-encoding scheme based on the ordering of the English alphabet. ASCII codes represent text in computers and devices that use text. It includes definitions for 128 characters - 94 printable and 33 non-printable.

Filter by
Sorted by
Tagged with
1
vote
1answer
35 views

Why is the 0 key last on the QWERTY keyboard layout and scan codes, but the first in ASCII and EBCDIC?

In ASCII, 0 is first, before 1. In EBCDIC, 0 is still first, before 1. This enables computations and conversions between codes and digits, simply by subtracting "0". Eg: "0" - &...
0
votes
1answer
174 views

X2Go error: home directory path contains non-ASCII characters

The following error has started appearing for myself and all local users of X2Go when attempting to access a remote Ubuntu workstation: Connection failed. Your home directory path contains non-ASCII ...
0
votes
0answers
29 views

Is it possible to use the escape codes used in shell prompts elseware, such as with echo?

Example: When I run echo -e "\[\033[;33m\][\t \u (\#th) | \w]$\[\033[0m\]" The printed response is \[\][ \u (\#th) | \w]$\[\] (Where everything after the first \[ and before the last \] ...
0
votes
1answer
514 views

Convert UTF-8 characters to their extended ASCII code

I have a file with unicode characters and I am trying to convert specific characters such as these black characters in notepad++ to get their ASCII value. For example, in the picture I have the DCS ...
0
votes
0answers
23 views

Why can’t I change code page on Visual Studio?

New here, so I'll try to explain my problem as best as I can. I tried coding a program in Visual Studio C++ that reads Japanese letters from a text file and displays them. The debug console gave me ...
0
votes
1answer
423 views

Does the "face with tears of joy" emoji have an ASCII version or a Windows alt code?

Many emojis started as ASCII emoticons such as :-) :-( :'( :O :P ;-( etc. In 2015, Oxford Dictionaries' "Word of the Year" was the emoji 😂, known as the "face with tears of joy". ...
1
vote
0answers
391 views

Clarification on FTP - ASCII vs. binary transfer mode after having corrupted files

Recently I wasted almost two hours before realizing that the file upload with Filezilla corrupted the files (e.g. adding unwanted spaces or special UTF-8 characters being corrupted) after downloading ...
0
votes
0answers
50 views

Hexadecimal in ASCII

am working with a very minimal version of linux borph, I use this OS to interact with a FPGA. I could read some registers inside the FPGA using a process who ask for the data via telnet and gives me ...
2
votes
3answers
317 views

Extended ASCII table issues on a 64-bit OS

Consider: Our old 32-bit program using the US-ASCII extended table (128-256) to create simple borders for its program menus. For example, decimal 193 is an upside down Tee. However, when the ...
0
votes
1answer
125 views

NetTerm shows characters instead of lines

My issue is almost the same as Why does YaST now show lines as lqqqqqqqqqqqqqqq? , but instead of PuTTY and YaST, I'm using NetTerm and MLS (= WMS). My lines are also shown in characters as you can ...
5
votes
1answer
227 views

Issues establishing a stable Minitel to Raspberry Pi serial port connection

I'm working on repurposing old Minitel into a dumb terminal. But I came across a problem with the serial port connection. As I found out, the serial connection from the Minitel to the Raspberry Pi ...
0
votes
1answer
30 views

Ubuntu 16.4 Filename Corruption after Backing up with dd

I have downloaded the boot partition from a server I needed a local copy of using dd and SSH. I can boot up the partition using a virtual machine, however, I have noticed some file names are ...
0
votes
2answers
703 views

Can I turn Base85 into a data URL? If so how?

I just recently learned of a much much more efficient version of base, called Ascii85 (or Base85) and as seen, it is much more storage efficient than say, Base64 or Uuencode: This is in Base85: ...
0
votes
1answer
1k views

Changing ansi and OEM code page in Windows

How to change ansi and OEM code page from 437 to 65001 in control panel? I have literally searched out whole control panel to change the code page but couldn't find it. Can anybody help me?
124
votes
2answers
17k views

Is it possible to create a QR code using text?

QR codes I have seen are mostly image files. But can you create QR codes using plain text? For example ASCII and UTF-8 have black boxes as characters. Can I use those together with spaces to create a ...
1
vote
2answers
223 views

Python program fails only if run (via ssh) from a mac terminal

I am trying to run a python program on a data processing (linux) cluster. The program runs fine if I ssh to the cluster from my linux desktop and start it but fails if I ssh to the cluster from my mac ...
0
votes
1answer
570 views

How to avoid Sed changing the file format?

I was trying to use a sed file to preprocess a file, but the output from sed seems to change the format. How should I avoid it? file A.txt A.txt UTF-8 Unicode English text, with very long lines sed ...
2
votes
2answers
3k views

Emulating Alt ASCII codes in Linux

I have an Alphasmart Neo, which emulates a keyboard when connected to a computer to send text files. It basically works like a very fast typist. When it hits an accented character it tries to use the ...
2
votes
1answer
652 views

Input corrupted on Windows 10 after 1083 update: ASCII chars are replaced with �

Suddenly, likely due an update, input is corrupted for ASCII chars. I am using Windows 10 (Version 1803, Build 17134.112). Usually if I write left Alt + 254 on numeric keyboard I got black square ■ ...
0
votes
0answers
158 views

Purpose of NUL character in Bitlocker recovery text file

I was setting up BitLocker today and my recovery text file looks like this: However, I tried to copy and paste this file into another document for backup purposes, and it came out looking like this: ...
0
votes
1answer
1k views

YouTube url can't be converted to base64 again

When I tried to encode YouTube url again to base64, the value after = didn't changed except first two letters. Is that already in base64? Url Converted: http://www.youtube.com/watch?v=CvUN8qg9lsk ...
1
vote
2answers
3k views

Why does LibreOffice Calc change CSV file Character Set?

I have a .csv file export (actually printed to csv file) made on a Windows 10 machine. Working in Libreoffice Calc on Archlinux, Why can Calc open a file using settings Character Set: Western Europe (...
1
vote
0answers
3k views

How to replace Hex Characters in Notepad++

var x = { 'leaderboardNick': { 'Player': '\x72\x67\x62\x61\x28\x32\x32\x32\x2c\x20\x32\x33\x2c\x20\x38\x38\x2c\x20\x31\x29', '\u3010\u20B1\u20AC\u3011': #FFF, }, 'emoticons'...
0
votes
2answers
250 views

A text is converting to ASCII or BINARY first?

When we type something in a text file or suppose that I'm sending an email to my friend with an attachment inside the email. In both cases of text file and email. What is happening first? Is that text/...
9
votes
3answers
2k views

Convert tab separated values to ASCII table

What is the most efficient way to convert tab separated data such as this: a b c d cat NULL NULL NULL NULL NULL NULL NULL NULL d d NULL NULL c NULL c NULL ...
0
votes
1answer
147 views

Cannot write ă symbol in name during Windows 10 setup

I am starting a brand new PC with Windows 10 pre-installed for the very first time. Now I am stuck because I cannot write the user name with this special character ă. I try to use the Alt + ASCII code ...
0
votes
2answers
255 views

Why are extended ASCII values on my computer accurate until 188?

I want to be able to type special characters, and judging from this list, only from 0 to 188 (inclusive) do the characters I get out match whats on that site.
1
vote
1answer
947 views

notepad++ regex length in bytes

I am struggling with coming up with a regexp in notepad++ that finds and replaces x number of bytes with nothing. Carriage return (0D) counts, line feed counts (0A). This is the regex I am trying: (...
1
vote
2answers
669 views

Is it possible to send NUL across a serial line?

The ascii character "NUL"'s value is 0. Is it possible to send this character over a serial line without getting it interpreted as no data being sent?
0
votes
0answers
114 views

Pipe non ASCII characters to file

So, this is a bit of a dumb question... Just for fun I was trying to pipe the doge command into a file by using doge > doge.txt, but when I opened it some parts were not showing (probably because ...
1
vote
1answer
712 views

How do you write (garbled) sentences like this in Unicode?

I recently ran across a post on the Welcome to Night Vale Facebook page that looked like this. I’ve seen ASCII and NFO art before, but how the heck do you write like this? Is this done via LaTeX? ...
0
votes
0answers
300 views

Toggle Chrome showing end-of-text (and other ascii) character

I've seen some posts about general "weird" characters, but those don't exactly answer my question. In particular, I'm seeing the end-of-text character. In chrome it's rendering as: while in firefox ...
0
votes
1answer
452 views

ascii in powershell (wscript.shell)

I'm creating a script that create shortcuts to our archiving drive. I would like the filename to start with an Omega-sign; so windows always sorts it at the bottom. The output of my script shows the ...
3
votes
1answer
5k views

Can the UTF-8 code page identifier (65001) be different on other computers?

I recently tried to explain to a friend how to create a simple one-line batch file: subst t: "X:\Example" On my machine that has been working fine for years, but on theirs I ran into an issue: their ...
4
votes
1answer
13k views

Batch cmd closes with ascii art?

I'm trying to make a ascii skull in batch, yet the cmd doesn't show my art OR text when opened start cmd.exe @echo off color a cls echo ^_________-----_____^ echo ^____------ ...
-1
votes
2answers
971 views

What's up with different hexadecimal encoding schemes?

So I've been working with cryptography for about a year now, learning as much as I can about all I can. A lot of things that I've come across (like the hexadecimally [not a word, but shh] encoded ...
1
vote
1answer
5k views

In Notepad++ the encoding of a file is set to UTF-8 but the encoding is actually ASCII

I need some text files to be encoded as UTF-8 text files when I use them with Notepad++. However, sometimes I have UTF-8 selected as the encoding in Notepad++, but the file is actually in ASCII. I ...
2
votes
0answers
2k views

Can we convert non unicode fonts to unicode?

I have few non unicode(8 bit) hindi fonts, can be move these characters to Unicode space so that they work for Unicode text.
0
votes
1answer
2k views

Convert/open an ASCII file

I am trying to open an ASCII file. The provider of the file says it's my responsibility to figure it out. The first 10 lines of the file (using linux command "head -10 file.txt") are included below. I ...
0
votes
1answer
4k views

Using Notepad++ to view text files that also contain lower ASCII control characters

When using Notepad++ to view text files that also contain some lower ASCII control characters (such as NUL, BEL, and ACK), it shows every lower ASCII character in brackets like this: [NUL][BEL][ACK] ...
1
vote
1answer
124 views

Why does CTL-3/CTL-# equal CTL-[? (and others) in the case of ASCII control characters

I've been rediscovering ASCII control characters as I fiddled with some terminal emulation code, and wrote a small program that outputs the hex value of each key I press (tcsetattr() with ~ICANON). ...
-1
votes
1answer
1k views

ASCII code for Win+R

Is it possible to "emulate" the keystroke Win+R (or more generally speaking: any combination with Win key) with an ASCII code? It is possible to send Ctrl+Something as an ASCII code, so I wonder ...
3
votes
1answer
865 views

How to get csvkit to recognise long ASCII lines?

I am using Ubuntu and I downloaded this CSV file, which file tells me is encoded like: ASCII text, with very long lines, with CRLF line terminators However, when I pass csvcut -e ASCII datafile, I ...
6
votes
2answers
12k views

"file" command yields "ASCII text, with no line terminators", unless I first edit the file in vim

I am experimenting a strange behaviour which I don't know how to solve. I will explain the scenario: From a Python script I'm getting a json from a simple application hosted on parse. Once I get the ...
0
votes
1answer
3k views

Batch convert images to ASCII art in GIMP

I want to convert a photoset of .png pictures to .txt files using the ASCII art generator of GIMP. I can do this individually just exporting the picture as .txt format, but I can't find any batch ...
0
votes
0answers
260 views

How to get Vim to interpret only printable ASCII characters?

What I want is pretty simple, so hopefully the fix is pretty simple. I want whatever file I open in VIM to treat each byte as a low-ASCII character. I want the character to be displayed normally if ...
2
votes
1answer
1k views

ConEmu and ASCII characters

I've been using ConEmu for quite a while, and I'm having some problems with ASCII characters in it. This doesn't happen with other terminal emulators, such as urxvt or mintty, here's a shot with the ...
0
votes
1answer
3k views

How to convert .shp to ASCII in QGIS or R?

Actually I want to convert the shp file to .grd file. But before I convert the .shp to .grd, on my thinking, first I must convert the .shp into ascii. Is it possible to convert directly from .shp to ....
1
vote
1answer
889 views

How to get ascii from a hexdump using hd?

I have this hexdump: 0100 0000 3f00 0000 0a59 6f55 90df 0100 0f00 0000 6d6f 746f 726f 6c61 2058 5431 3036 3839 3744 3245 3430 3630 3737 4143 3531 3632 3930 3937 3244 3933 3845 4343 I believe it's ...
2
votes
3answers
2k views

Modern Linux commands that parallel uuencode/uudecode functionality

I need to get binary files into text format. Years ago, I used uuencode/uudecode, and it was easy: uuencode file.xls > file.txt # Delete file.xls # Do whatever with file.txt # Now I need file.xls ...