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
0
votes
1 answer

Get bytes of encoded non-printable string

When I dump a table entries with sqlmap with --hex key, I get bytes of password hash correctly, but powershell represents these bytes as string. All non-printable characters are escaped and I get these bytes as…
0
votes
3 answers

Mirroring input content with non-printable chars like CTRL, ALT or shift key

When non-printable char is pressed, it's replaced with let's say for CTRL=17 with "[CTRL]". Here is code an example $('#textbox1').keyup(function (event) { if (8 != event.keyCode) { if(17==event.keyCode){ …
elsadek
  • 1,028
  • 12
  • 39
0
votes
2 answers

Replacing all occurrences of non-printable character in a file using its ascii value

I have a file myFile.xmlwhich I want to run the xmllintcommand on for proper formatting. It contains the ASCII character 26 (substitute char) because of which xmllint command is failing with parser error. How can I replace all occurrences of this…
Vicky
  • 16,679
  • 54
  • 139
  • 232
0
votes
2 answers

Service/App for viewing a Webpage as hex straight off the wire?

Are there any tools/websites/utilities for viewing a website in hex as it comes strait off the wire? I'm getting some strange non-printing characters back from somebody else's C++ code and I want to identify the characters to find out where they…
leeand00
  • 25,510
  • 39
  • 140
  • 297
0
votes
1 answer

Print_r() to PHP error_log() not working. (non-printing characters)

I have a static method in a helper class Utility::error_log() for helping us gracefully debug HUGE objects in PHP. The method, and it's helper-method Utility::toArray() are below: static function error_log($message, $data=null, $max=2) { …
Mike
  • 1,968
  • 18
  • 35
0
votes
2 answers

Best practice in filtering non-printable characters

While building a ticketing system frontend I stumbled upon an issue found by our QA team. The problem is that we are not filtering any non-printable characters, which could lead to strange issues: copy-paste example code does not work clients…
Nikola Petkanski
  • 4,724
  • 1
  • 33
  • 41
0
votes
0 answers

Remove odd characters

I've developed an app that syncs its data with a website I also developed. When I input data from on the web and sync the data to my app, sometimes the data comes down with non-printable characters. During my sync process (or better yet, prior to…
acedanger
  • 1,197
  • 2
  • 15
  • 34
0
votes
2 answers

How do I embed CRLF or other unprintable characters in my shell script?

My boss came to me with a question about how to embed a CRLF sequence into his shell script (for piping through some sort of netcat or telnet stuff he's doing) in a reasonably portable and robust way.
Jim Dennis
  • 17,054
  • 13
  • 68
  • 116
-1
votes
1 answer

# in Material Description for some materials which is causing alignment issue in SAP ABAP

How to take out # from Material Description ? and anyone know why # exists in some materials.
-1
votes
1 answer

Why does fgetc() in C always reads extra, non-existent characters whenever I try to read non-printable characters from txt files?

I am trying to read non-printable characters from a text file, print out the characters' ASCII code, and finally write these non-printable characters into an output file. However, I have noticed that for every non-printable character I read, there…
Yooshinhee
  • 25
  • 4
-1
votes
2 answers

Is there a way to get a symbol of a non-printable character?

I want to find a way to get a symbol of a non-printable character in c# (e.g. "SOH" for start of heading and "BS" for backspace). Any ideas? Edit: I don't need to visualize a byte value of a non-printable character but it's code as shown here…
-1
votes
1 answer

Textual output appears wrong and contains inexplicable symbols

When I run my code the output appears like an error. What can be done about this? Here's the part of my code that does the printing: if (dtw(Bs(:,4),AY) > 40) && (dtw(Bs(:,4),AY)< 68) SOEvent=1; X=['event is', SOEvent,'in…
danub
  • 3
  • 4
-1
votes
1 answer

What happens when \t meets \b in C?

I know what \t and \b mean. But what will happen when a \b after a \t, and what will happen when multiple \b and \t combine. Look at this code, It contains a variety of combinations of \t and \b: …
wenmin92
  • 106
  • 1
  • 4
-3
votes
2 answers

Remove unwanted non-printable characters from large CSV files with millions of records -in Python 3 or 2.7

sample fileI receive large CSV files delimited with (comma or | or ^) with millions of records. Some of the fields have non-printable character like CR|LF which translated as end of field. This is in windows10. I need to write python to go thru…
dan1197
  • 13
  • 1
  • 1
  • 4
-4
votes
1 answer

Convert Ascii "1" to hex thats non printable and cannot be seen on network traffic

again another question about Ascii to hex conversion. I would like to take an Ascii "1" symbol that has been input by the user, then take that value, convert it to hex and send it over a network as its non printable value so that it cannot be easily…
Paul Alexander
  • 2,686
  • 4
  • 33
  • 69
1 2 3 4 5
6