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
0
votes
0answers
41 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
223 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
71 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
184 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
24 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
336 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
526 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?
118
votes
1answer
13k 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
163 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
272 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
1k 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 ...
1
vote
1answer
491 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
110 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
898 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
2k 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
2k 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
165 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/...
8
votes
3answers
1k 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
121 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
223 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
734 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
440 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
95 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
485 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
291 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
378 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
4k 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
9k 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
769 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
4k 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
1k 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
111 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 ...
2
votes
1answer
782 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 ...
0
votes
0answers
1k views

Converting serial port binary hex to serial port ASCII decimal

I'd like to convert a binary hexadecimal data string on one serial port to an ASCII decimal string output to another serial port. Is there already an application that does this? If not, would it be ...
6
votes
2answers
8k 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
2k 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
234 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
826 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 ...
9
votes
3answers
2k views

Why are there separate fixed-width characters for 0-9 in Japanese, compared to the typical 0-9?

Japanese (日本語) -0123456789 Typical ASCII for everywhere else - 0 1 2 3 4 5 6 7 8 9 Why was there a need to create a separate character set for the same numerals?
1
vote
1answer
493 views

Default OSX hash key produces non-ASCII error in Python?

I'm using OSX Yosemite on a Macbook Pro with a UK keyboard. When I type # into a Python file (using Alt+3) I sometimes, but not always, see this syntax error when I try to run the Python file: ...
0
votes
3answers
2k views

Accented character issue

I have a bunch of websites encoded in UTF-8. They contain accents and those weird n's with the squiggles over them and all kinds of fun stuff. When I try and open them in any text editor, even ...
4
votes
1answer
500 views

Pressing ALT+ARROW_KEYS in Visual Studio editor writes single ASCII character

I am using VS2013 as my IDE and ever since the installation it acts very oddly when pressing ALT and any of the ARROW keys. I use ALT+LEFT and ALT+RIGHT to navigate backward/forward which works in ...
2
votes
2answers
2k views

ascii value in bash/awk

i have a doubt, i know that with this command, it prints the value of a character based on the Ascii table: printf "%d\n" "'a" ##prints 97 But i wonder how can i make my programm show me the ascii ...
0
votes
1answer
151 views

ASCII text files

Given a file contains ASCII characters is there anyway to determine the operating system of origin? This needs to work regardless of the existence of newline characters