Questions tagged [linefeed]

Linefeed, also known as LF, is a character that controls the switching to the next line.

Linefeed, also known as LF, is a character that controls the switching to the next line.

303 questions
0
votes
1 answer

how to force a div tag to not do a line break?

I have a div tag that contains an URL inside. After some external format ends up with come line breaks (carriage return, line feed) that are interpreted as white space in the HTML*. Something like yaCRLR hoo.com and in the html preview shows: ya…
r2d2
  • 1
  • 1
0
votes
1 answer

SignedCms.Decode() causes "ASN1 bad tag value met.\r\n"

I'm doing about verifying digital signature. And when I was trying to use SignedCms.Decode() , it caused System.Security.Cryptography.CryptographicException {"ASN1 bad tag value met.\r\n"} I generate the signature data in Java, and try to verify it…
Ashkandi
  • 63
  • 2
  • 12
0
votes
1 answer

query regarding line feed and fgets()

Code 1:- int main() { char str[200]; fgets(str,200,stdin); printf("%s",str); return 0; } Output:- ab cd ab cd (line feed) Code 2:- int main() { char str[200]; gets(str); printf("%s",str); return 0; } Output:- ab…
kevin gomes
  • 1,775
  • 5
  • 22
  • 30
0
votes
2 answers

PHP: Is it ok to replace \r\n with \n?

I have a form with a textarea and a JS character counter. Yet the backend script claims that the strlen of the message is longer than the JS character counter claimed. The reason for this, I have discovered, is that the backend sees every newline…
Mala
  • 14,178
  • 25
  • 88
  • 119
0
votes
1 answer

Java: Returning a String that contains line feed

I have an ArrayList listOfGroups. The groups have 4 fields - String groupName, int lastActiveID, int firstID, String indicator. I want to write a method that returns info about all the groups in listOfGroups. Here's what I'm trying: …
Mr. Who
  • 9
  • 3
0
votes
2 answers

Java Read Line Feed Characters

I'm trying to read data from a text file that was written from strings containing \n. As a result, these characters have been written as line feeds. When I'm trying to read it back, I'm using a FileInputStream, InputStreamReader and a…
Globmont
  • 881
  • 2
  • 8
  • 20
0
votes
1 answer

Send "\r\n" charactetusing GPIB

First, sorry if my english is not perfect. I am using Matlab to generate a waveform and to create a binary file (based on on waveform points) which I want to send to an Agilent 33522A Function Generator to generate an arbitrary waveform. My problem…
NumLock
  • 73
  • 1
  • 9
0
votes
3 answers

How to properly display Line Feed in string when used on webpage or email

I have a string that I save to a database. Problem is it only displays the line feed when I am in the edit mode form. When I just display it (no editing) in my webpage or use it in an email the string displays with no line feeds and it is all run…
user2789697
  • 227
  • 1
  • 7
  • 13
0
votes
1 answer

exception calling "Parse" with 1 argument: Input string was not in a correct format

I have a script that works properly when run as an administrator but gives a Parse error when run as a normal user. Any Ideas?; SCRIPT `NeverExpires = 9223372036854775807; $ExpireMin = (Get-Date).AddDays(4); $ExpireMax =…
user2402045
  • 71
  • 1
  • 3
  • 13
0
votes
2 answers

VB.net Textbox, how to get Newline Symbol (little arrow, same as in enter key)

In Visual Basic.net I managed to get this little arrow symbol ↵ in the TextBox some time ago, but lost it. Is this font dependent? I used Consolas and Courier New. Do i need a RichTextBox or something else? I tried chr(10) and chr(13),…
LAamanni
  • 177
  • 2
  • 13
0
votes
2 answers

How do you set CR terminator in android when sending data as string?

I am sending letter A (string letter = "A\n") on my android phone to a device. In matlab the code is set(s1,'Terminator', 'CR'). I would like to know how this is done from on an android phone. I want an enter after I sending letter A. Thanks for you…
0
votes
2 answers

Why is jquery adding CR-LF to newly created elements in IE7 and IE8?

JQuery is adding the carrige return and new line characters to the beginning of any newly created JQuery elements in IE7 and IE8. What is going on? Using JQuery version 1.9.1 with the following: var myDiv = $('
'); alert('myDiv[0].outerHTML="' +…
0
votes
1 answer

Regular expression to replace line feeds with a space only if the break is in certain keyword pair

I'm trying to write a regular expression that replaces line feeds between certain areas of a text file, but only on certain keywords (beginning keyword and end keyword are not paired) but not having much luck past the first part. Example…
user1045217
  • 506
  • 1
  • 4
  • 9
0
votes
1 answer

UIApplication openURL - get rid of %0A

Issue: I'm parsing some info from an xml file (RSS feed) into a feed reader I'm developing. When trying opening news URL with Safari [[UIApplication sharedApplication] openURL:url] is not working. I suspect the xml file itself is not well prepared.…
Daemon Painter
  • 3,208
  • 3
  • 29
  • 44
0
votes
1 answer

Adding carriage returns and line feeds into the CommandText of a TableAdapter for use in an ASP.Net GridView

Is it possible to add carriage returns and line feeds into the CommandText of a TableAdapter so the results of the query displays them in an ASP.Net GridView? Here is part of a query in the TableAdapter I made using the DataSet designer: SELECT…
Emad-ud-deen
  • 4,734
  • 21
  • 87
  • 152