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

Add LineFeed to command line option (windows 7)

I have Problems adding a line feed in a string passed to a command line command. The Syntax is like this: sometool --modifyfield "Description"="How to add a line feed?" What I already tried without success: sometool --modifyfield "Description"="How…
0
votes
1 answer

UWP application not reading line feed

I am creating a C# UWP application and I have noticed that the line feed (\n) character is missing from the output text when I enter it into a Textbox. When I press enter into my Textbox it produces CR+LF character (\r\n). what can I do to bring…
Stavros
  • 147
  • 2
  • 14
0
votes
0 answers

PhpStorm - new lines (linefeed) are being removed when saving to remote server

Using PhpStorm 2017.1.4 I have a MySQL query string in PHP:
user6749930
0
votes
2 answers

New line character handling in Jsoup

When parsing html with JSoup if there is a new line character in a string of text it treats it as if it is not there. Consider: This string of text will wrap here because of a new line character. But when JSoup parses this string it returns This…
kotval
  • 120
  • 2
  • 10
0
votes
1 answer

How can I improve my hex-based conversion

I was facing a problem where I got data (String) from a database with Linebreaks as (Hex) 0D. I displayed this data in a Textbox, which did not use the 0D as a linbreak. I found that the Textbox needs 0D-0A (LF & CR, dont know which is which) to…
Luke
  • 751
  • 2
  • 7
  • 32
0
votes
0 answers

Visualizing the implications of CR & LF on various Operating systems

I am now aware of the theoretical explanation of CR & LF. Carriage Return (CR): moving to the begining of the line without progressing forward. Line Feed (LF): moving a line forward or next line. But i am not able to visualize the below…
OK999
  • 1,353
  • 2
  • 19
  • 39
0
votes
2 answers

How to remove Linefeed (LF) from first row in a text file using a batch file

I needed a script to remove the linefeed from the first row of a text file. Other - similar topics I've researched were confusing, and had many irrelevant or misleading responses,
Dror
  • 5,107
  • 3
  • 27
  • 45
0
votes
2 answers

Informix 11.5 SQL Select Carriage Return and Line Feed

Informix 11.5 I am trying to search for carriage returns and line feeds that may exist in a VARCHAR field. First, I need a SELECT statement to show that they exist. Second, I need to REPLACE them with a space or other character. I've tried all kinds…
Gemini
  • 109
  • 2
  • 15
0
votes
2 answers

Carriage return and line feed

I got stuck with carriage return and line feed problem. When I run my script it shows CR,LF inside double quote of last field and there is another LF after than, realistically CR,LF should be outside of double quote of text and there shouldn't be…
katya.lee
  • 83
  • 2
  • 12
0
votes
1 answer

How do I replace a certain combination of characters / inputs?

I want to replace a " followed by \n\r (enter) with just " I've tried multiple variations on: receivedData = receivedData.replaceAll(\\" + [\n\r], \\", ); How does one replace a combination of characters and symbols / carriage return / line…
Wouter
  • 3
  • 3
0
votes
2 answers

Can't create JSON doc from dict with string containing line feed chars

I'm creating a JSON structure which I ultimately need to save to a file but am having problems with embedded line feed characters. I first create a dictionary: changes = { "20161101": "Added logging", "20161027": "Fixed scrolling bug", …
Component 10
  • 10,247
  • 7
  • 47
  • 64
0
votes
6 answers

How to convert linefeed into literal "\n"

I'm having some trouble converting my file to a properly formatted json string. Have been fiddling with sed for ages now, but it seems to mock me. Am working on RHEL 6, if that matters. I'm trying to convert this file (content): Hi…
Denn0
  • 377
  • 3
  • 15
0
votes
1 answer

remove carriage return and line feed while pasting sql rows in Excel

Hi right now I am fetching some data from sybase sql and whatever data I get paste it in a excel sheet and send a mail. The problem is all the columns and their values don't come in a line. I need it arrange this in a line. I did a bit of research…
Preeti Maurya
  • 431
  • 1
  • 7
  • 17
0
votes
1 answer

Does Visual Studio have "advanced save options"

Does Visual Studio have options such as: save as advanced opiton CRLF to LF save without BOM etc?
Tadashi Nagao
  • 75
  • 1
  • 6
0
votes
1 answer

Why does Node util.inspect() append ^M to every line before newline?

Why does node.js now (as of version 6.4.0) append ^M to each line that is output from require('util').inspect()? This seems wrong on any platform that doesn't use CR as a line delimiter (e.g., most of the ones node runs well on).
Alan Mimms
  • 651
  • 9
  • 22