Questions tagged [control-characters]

Control characters are non-printing characters used to send signals to the output terminal.

Control characters are generally non-printing characters that are used to send signals to the output terminal.

More information is available on Wikipedia.

218 questions
0
votes
0 answers

Strange Control Characters in C# DataTable results, not in SSMS or VB.NET results

I have a sql query, select distinct(name) from customers with (nolock) and it returns the text I want in SSMS, ie "Smith, John", etc. However, when I get the string value from my DataTable in C#, I get back strange Control Characters at the…
turkinator
  • 905
  • 9
  • 25
0
votes
1 answer

^M (ctrl+M) character is a part of string but java get end of line

i have a log file that each line is a row of database and i want insert it into database. in value of password field there is ^M (ctrl+M) character and it is not end of line but when java scanner arrive it take the remaining characters of the line…
reihaneh
  • 225
  • 4
  • 18
0
votes
0 answers

How to scrub VT100/ANSI control chars in Net::Telnet

I am using Net::Telnet to connect to a HP ProCurve Switch to login and backup the config. However I ran into issues where waitfor returns VT100/ANSI control chars: < 0x00000: ff fd 18 ff fd 1f ff fb 01 1b 5b 32 4a 1b 5b 3f ..........[2J.[? <…
redcodefinal
  • 909
  • 3
  • 11
  • 24
0
votes
1 answer

How to display ASCII 26 (control characters) in HTML

We have a record in SQL database, which contains a ASCII 26 character: SELECT char(26) From the looking, it's like a arrow, which we can see it in the Eclipse debugging. However, when we try to output it to HTML front-end, it just skipped that…
Jerry Bian
  • 3,998
  • 6
  • 29
  • 54
0
votes
1 answer

Oracle: Find control characters except line feed

I'm trying to all rows where a column contains any control charters with the exception of the line feed character (hex value of A). I've tried the following, but this only returns results that have a control character and don't have a line feed. I…
jcarman
  • 3
  • 2
0
votes
1 answer

filetype and corresponding program that will honor control characters

I am using Node.js to write to log files, using the colors module which I believe inserts control characters into strings, for coloring/text formatting which will display in a terminal application. When I write to the terminal directly, it shows…
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
0
votes
1 answer

Invisible characters not letting me parse xml

I am getting a xml string from a server through ajax request. But it is not getting parsed through jquery- var xml = $.parseXML(""+xmlStr+""); I am getting the error - Uncaught Error: Invalid XML:…
harsh atal
  • 411
  • 6
  • 16
0
votes
0 answers

Script to extract a zip password in Full ASCII with control characters (0-31 range)

Suppose my foo.zip is encrypted with a password containing extended and control ASCII. Its password in hex format is e.g. something like 9E6A01D15774FF I have made a password.txt by editing its hex to match my password, so it will look like this…
0
votes
1 answer

How can I get Sublime Text to search in files with control characters?

I have a bunch of log files containing outputs of a test suite, which often include control characters (most frequently ESC). I need to search for a certain phrase in all the log files. Normally I'd use the CTRL + SHIFT + F function to do that but…
Sanuuu
  • 243
  • 1
  • 10
0
votes
1 answer

Using Runtime exec() to pass a control character

I'd like my java program to make a Windows machine beep when the program is run. Typing ^G (Control-G) in the command prompt causes a beep sound. Is there a way to use Runtime's exec() to pass a control character to the command prompt? e.g.…
CS Student
  • 1,613
  • 6
  • 24
  • 40
0
votes
1 answer

Read Control Characters GS RS

i've to read Barcodes with Control characters like GS (ASCII = dec 29, ), RS (ASCII = 30, ), ... With my first console application, these chars are filtered - I have no idea where and why. If I scan the Barcode to a redhat-linux-Console the…
Dominik00000
  • 311
  • 1
  • 3
  • 10
0
votes
3 answers

Passing control character to char array

This one char *house2="JAM gain\r\n" differs from this one: string house, prefix="JAM ", suffix="\r\n"; cin>>house; house = prefix + nickname + suffix; char house2[100]; strncpy(house2, house.c_str(), sizeof(house)); return house2; Even though I…
Pawel
  • 3
  • 5
0
votes
1 answer

Exception while importing data to dynamodb using data pipeline

I setup data pipeline to import data into dynamodb database. I created a script which which would match the syntax of the dynamodb export. Below is the sample output, DateAdded^C{"s":"2009-11-10T18:19:00-07:00"}^BASIN^C{"s":"B001AMUFSE"} …
Sachin Doiphode
  • 431
  • 2
  • 10
  • 24
0
votes
2 answers

Convert a letter to its corresponding control code

Given a single letter (string), say "a", I want to convert this into its corresponding control code, i.e. "\ca" - or equivalently (in alternate syntax) - "\C-a", ?\ca, "\x01", "\u0001" I was hoping there'd be some "nice", clean way of doing this…
Tom Lord
  • 27,404
  • 4
  • 50
  • 77
0
votes
1 answer

Weird output with characters overlaying each other

I collected a bunch of Tweets and output them to the command line, here is what I got: The tweets are in different languages, so I suspect I also have arabic ones. Can control characters be responsible for this output? There are a few thousand…
kutschkem
  • 7,826
  • 3
  • 21
  • 56