Questions tagged [ASCII] (38)

1
answer

How to fix the error 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)?

Hi, try to run your bot on https://www.pythonanywhere.com/ But get this error message: UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128) Swears on that line in the bot:bot.edit_message_text(chat_id = c.message.chat.id, message_id = c.message.message_id, text = yourorder + u 'C...
Constantin92 asked April 4th 20 at 12:37
3
answers

How to work with Russian characters in C++?

Programming in Ubuntu and Faced a problem: terminal does not display Russian characters. Looked in the ASCII table and tried to come up with character codes. Gives not the band and not the characters. How to solve this problem ?#include <iostream> #include <clocale> using std::cout; using std::endl; int main()...
Madisyn asked April 2nd 20 at 17:11
1
answer

How to properly handle a NUL character?

Remotely stored data in ASCII. Example data (the second column in the 16 system to understand): 1) ]�1�*..� 83 5D 12 2A 31 91 D4 00 2) ]�1�*.� 5D 83 31 91 2A 00 1C B9 3) ]�1�*‑�� 5D 83 31 2A 91 1E FF F0 4) ]�1�*.� 5D 83 31 91 2A 1F 0E F9 I get the data, convert them into 16ые using the function bin2hex() and save the table...
rosemarie_Ko asked March 31st 20 at 14:41
1
answer

How to use ASCII characters to make the shift and tabulation?

Good afternoon. Here is the problem. Need in the description of the Instagram post to make such a form that the text was divided into paragraphs and each paragraph began with a red line (indent) See below:There's some text that I am manipulation. \n ; transfer the line \n ; moved again to visually separate the paragraphs \и...
jovany.Cri asked March 27th 20 at 12:31
2
answers

Encoding to a PC?

Hello, how the computer understands what encoding a certain file? Where sewn encoding? When there is keyboard input, is also input ASCII symbols?
monica_Eichma asked March 24th 20 at 11:53
2
answers

Why ascii and utf-8 texts of different length?

Good day! Have a binary file encoded in ansi, I copy it to a file with utf-8 encoding, and the first file size is 7168 bytes and the second (where you copied the text) becomes a size 7 736 bytes. The same number and order gave a somehow different dimension. Please explain - why
dena77 asked March 21st 20 at 12:32
1
answer

By means of python and opencv Preobrazovatel input videobook with web camera into ascii art?

You must Preobrazovatel input videophotos in ascii art, and it in turn videophotos, and transmit it to the output virtual webcam. Everything found how to convert the image into ascii art but how to convert ASCII art to videophotos not found.
abdiel4 asked March 19th 20 at 09:29
4
answers

What now writing 8-bit music?

With spectrum I love 8-bit music. Modern, of course, is written not in 8 bit, only used some samples. What now writing this music and where do you get samples?
chester asked October 10th 19 at 02:21
6
answers

Is it possible in code to insert the symbol 0x8 (a backspace)?

Today lost half a day figuring out the error, why does not the rule in the CSS file. It turned out that this rule (via a couple of tabs, and even line breaks) was invisible (if you disable the option "Show invisible characters" in the editor) the backspace character (ASCII 0x08). How is it possible in code to insert the sym...
Adrienne.Aufderh asked October 9th 19 at 22:47