6,973 questions
0
votes
2
answers
234
views
Can the browser render a glyph stored at code point 0x09?
I'm trying to add functionality to a serial port web app which can represent all received bytes from 0x00 to 0xFF (including typically unprintable characters, e.g. ASCII control codes) as a single ...
1
vote
1
answer
2k
views
Uppercase ascii character in zig
Given a character (u8) in zig, how can I make sure it is in ASCII uppercase?
Does the standard library provide helper functions for this?
0
votes
1
answer
691
views
Enter key stopped working in ubuntu after updating gsettings
I was trying to setup my zsh to make different binding for enter and ctrl + enter, and faced the following problem.
Following instructions from here I executed these commands in the terminal:
...
1
vote
2
answers
145
views
How can I Find the Largest Prime Value in a Dictionary of ASCII Sums?
I'm working on a Python script that reads a text file, splits it into a list of strings, and calculates the sum of ASCII values for each string. I've stored this data in a dictionary where the strings ...
0
votes
1
answer
69
views
Need help converting grid to string
I want to converting a list to string for an assignment. I can convert 1 row, however my teacher wants us to convert 3 separate rows to make a grid for the game of life. I've tried a bunch of ...
0
votes
0
answers
130
views
Making a Tic Tac Toe using ASCII
char choice, a = 'a', b = 'b', c = 'c', d = 'd', e = 'e', f = 'f', g = 'g', h = 'h', i = 'i';
if (a+b+c == 264 || d+e+f == 264 || g+h+i == 264 || a+d+g == 264 || b+e+h == 264 || c+f+i == 264 || a+e+i ...
0
votes
1
answer
199
views
Pixel Art Square
I am creating a pixel art of a 64x64 Pixel image on my terminal using Python. The Problem is that it is ASCII and because of that the image always comes out as a rectangle and not as a square as you ...
0
votes
2
answers
478
views
KOTLIN - How to represent message length as 2 binary bytes
I am facing a problem while building an integration between ECR (electronic cash register) and an android POS. I'm working on the android POS and i want to calculate the message size and add it in &...
0
votes
1
answer
132
views
How can I properly import a fixed-with ASCII file into R that has two different record types?
I'm trying to extract the 2021 Hate Crime Master File from the Crime Data Explorer into R.
https://cde.ucr.cjis.gov/LATEST/webapp/#/pages/downloads (Scroll to Master File, select "Hate Crime"...
0
votes
0
answers
83
views
C# WinForms how to have a console inside a form
So I'm working on a project called PteroController, and I'm trying to find a way to display a console inside a form, so I can show the console output I get from a web socket, which can be color coded ...
1
vote
0
answers
25
views
How to get output in UTF-8 from libraries like base64 [duplicate]
I have a base64 string in python that is not in ASCII format, so I want base64.b64decode(string) to output UTF-8 rather then ASCII.
Sample base64 string: mBkVO/Me3Awiy94yFCagxA==
Sample output: \x85\...
2
votes
1
answer
568
views
Is there any free email provider with Internationalized Domain Name (IDN)?
I just added support for recipients with IDN in an application that I'm building, but I cannot properly test this feature without having a domain with non-ASCII characters.
Is there any free service ...
1
vote
1
answer
101
views
Keras save function not working with ASCII character in file path
I'm following the Keras text classification tutorial, the entire tutorial worked flawlessly. Next, I wanted to try the .save and .load function, that's where a problem occured.
The code line :
...
1
vote
0
answers
328
views
How to change color of a Unicode text character in C++
I am working on an ASCII 3D game engine and I don't know how to color a character using this current setup. The goal is to make each character a different color to add to the shading. I am using ...
5
votes
1
answer
29k
views
Trying to understand CHAR(10) and CHAR(13) in SQL Server [duplicate]
I have read many articles explaining what CHAR(10) and CHAR(13) actually are.
I have no problem with CHAR(10), it is simply a line feed or a new line.
I do not understand how CHAR(13) behaves in SQL ...
0
votes
1
answer
153
views
Arduino bluetooth keyboard immolator sending unexpected ASCII characters
I have two buttons attached to accelerometers and Adafruit Bluefruit nRF52 Feather boards. I have written a program in the Arduino IDE to basically read acceleration during a button press, map the ...
0
votes
0
answers
190
views
OBITools3 Attribute error: 'str' object has no attribute 'isascii' error
I am using the OBITools3 to try to analyze DNA metabarcoding data. I have had the same error come up multiple times when trying to run obi commands, such as obi taxonomy or obi alignpairedend. My code ...
1
vote
1
answer
6k
views
How can I print ASCII characters from 128 to 255?
I want to print the following ASCII characters using the C programming language on Windows OS:
#include <stdio.h>
int main() {
for(unsigned int ch=128 ; ch < 256 ; ch++)
{
...
1
vote
1
answer
143
views
Why is '0' put in this the putchar function when I want a number printed
I am trying to print numbers using the putchar() function. Here's my code below:
int main(void)
{
int x = 0;
for (; x <= 9; x++)
{
putchar(x + '0');
}
}
_putchar('\n'...
0
votes
0
answers
65
views
Auto-translation of newline character in the terminal
I'm following along here.
I notice (this is not complete, just for demonstration) that at this point:
#include <termios.h>
raw.c_iflag &= ~(ICRNL | IXON);
raw.c_oflag &= ~(OPOST);
...
0
votes
1
answer
93
views
How to convert a long vector of class character containing non-ASCII unicode characters to their escaped version?
I have an R package in which I have a list of university names that I want to match to the user input. The list of names contains special characters and this is generating a warning in R CMD check:
...
-1
votes
1
answer
87
views
The equivalent of C# ASCII code in PHP language
I want to implement this block code in PHP for bank payment.
Can anyone help me?
Thank you.
ASCIIEncoding ByteConverter = new ASCIIEncoding();
string dataString = "Data to Sign";
byte[] ...
1
vote
1
answer
294
views
How do you insert ASCII art that displays in the Elements tab of the Dev tools window?
I’m trying to display some ASCII art to show inside the Elements tab—NOT console.log—when someone inspects a webage.
I’m using React, so I don’t have access to the final build, which happens on the ...
3
votes
3
answers
330
views
How can I print a 128-255 character from an integer in C?
I'm still playing around with C to understand how it works.
I'm having trouble printing characters from the extended ASCII table (128-255). If I do printf("Â") (for example), it prints  (...
0
votes
1
answer
363
views
CheckSum8 Xor in TwinCAT 3
I need to calculate the CheckSum8Xor (like on this website: https://www.scadacore.com/tools/programming-calculators/online-checksum-calculator/) but on twinCAT3.
Working with strings like "$...