Questions tagged [non-printing-characters]

A character code that does not represent a written symbol, and is usually a printing or telecommunication control character

See the Control character Wikipedia article for more info.

90 questions
1
vote
1 answer

Does TCP support non-printable characters?

I'm new to the TCP/IP protocol, and would like to create a server for a chat, in C++. For now, I decided to begin all my transmissions with a character to tell what's next (a login request, a message to post, the user-name of a client, ...). So, I…
dido22
  • 41
  • 5
1
vote
1 answer

how to use uniVocity-parsers to process non-printable character

I would like to use Java with uniVocity-parsers to parse the csv data which is produced by mysql select into outfile. Now I encounter one situation of processing non-printable characters ! The mysql table contains bit(1) column and when using…
CrazyPig
  • 137
  • 12
1
vote
1 answer

Match non breaking space in Rascal

In Rascal, how can I match a non breaking space in a syntax definition? I found some of them in code I am trying to analyze and would like to recognize it as layout. However, just pasting the character into the Rascal file is not working (with or…
1
vote
1 answer

How can I escape characters using ASCII 3-letter codes?

I want something like string magic(char c); so that when I do std::cout << magic(c); I get: The character itself for printing ASCII characters; A 2/3-letter ASCII code for other ASCII characters (e.g. "NUL", "BEL", "LF" etc.) Anything…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
vote
1 answer

Scriptella Change delimiter of csv to tab

I am using Sciptella to parse a document and make a csv file. I want the delimiter in csv to be tab. Presently I'm able to change the delimiter to any other printable single character e.g. ; as
Sanghita
  • 1,307
  • 3
  • 16
  • 28
0
votes
2 answers

Tool to create and copy special and non-printable character string to Clipboard for testing

I'm looking for a tool (ideally online) that lets me specify a string with special and unprintable character codes (e.g. < Code 32), by code, and copy it to the Clipboard for testing. There are tools that do the opposite, like this one:…
gene b.
  • 10,512
  • 21
  • 115
  • 227
0
votes
1 answer

Print non-printable character (VS Code)

I am writing a batch file in VS Code and I have a question. What are the ways to insert a non-printable character other than copying it from somewhere. I have tried Alt+27, Alt+027, Alt+001b... but it doesn't work. The question is not only in terms…
IPcorp
  • 23
  • 6
0
votes
1 answer

txt file rendered perfectly from pdf, opens with perfect alignment in text editor, can not load into dataframe

I can not figure out how generic text processors like Geany or the new default gnome Text Editor parse my text files. The column alignment is perfect. Using cat -nA sees the correct delimiters, but of course they are mysterious non-printing…
depling
  • 3,413
  • 2
  • 16
  • 7
0
votes
1 answer

How do I write a single backslash (\) in a string?

I am trying to detect non printable characters in a string ('\n', '\r', etc.) and insert a single backslash before them. So, for example if I have a string "Hello\nWorld", I want it to be "Hello\\nWorld". I have a code example that should do it, but…
0
votes
0 answers

How to display non printable characters (ASCII codes 0 - 32) in WPF

I want to display and edit serial data (e.g. NULL, STX, ETX, ENQ, etc. characters) in the text box in WPF. It should be displayed same like Notepad++ as shown here. I have tried using textbox, RichTextBox in WPF, but only printable characters are…
Victory
  • 1
  • 1
0
votes
1 answer

Pandas read_csv - non-printable character (columns not recognized)

Could someone tell me what non-printable character I have in my code that makes python not recognize the columns names in my dataframe? : import pandas as pd data_olymp = pd.read_csv("Olympics_data.csv", sep=";") Here is the Traceback of the error…
0
votes
1 answer

RandomAccessFile writing non-printable characters/newlines when writing regular text to a file

I am trying to write to an existing file with RandomAccessFile, but the call to writer.writeUTF() overwrites the two characters before the write offset with non-printable characters or newlines. I genuinely do not know what is causing this problem,…
0
votes
2 answers

Redshift: How to remove non-printable characters

I'm trying to remove non-printable characters from a string in Redshift and tried the TRANSLATE function but didn't return the results I'm looking for. Any advice?
SusanD
  • 143
  • 9
0
votes
1 answer

How to replace THIS non printable character type in a docx that represents a \n but Word is not recognizing as a \n?

I am parsing various .docx documents but the part of my code that splits paragraphs when it encounters "\n" is adding a new line when it encounters this weird symbol (circled in yellow): could someone tell me what non printable character is this…
0
votes
0 answers

Powershell find non printing characters

I am attempting to validate a string to ensure it's a valid registry path, and having trouble with the non printing characters part. Given these three strings $stringLiteral = 'line`nline' $stringEscape = "line`nline" $string = "lineline" I should…
Gordon
  • 6,257
  • 6
  • 36
  • 89