Top "Carriage-return" questions

Carriage return is one of the control characters in ASCII code, Unicode, EBCDIC, and many other codes.

End of line character / Carriage return

I'm reading a normal text file and write all the words as numbers to another text. When a line finishes …

c file text carriage-return end-of-line
Knockout.js carraige return in paragraph text

Using knockout.js, how do I include a carriage return in the text that is bound to the text attribute …

knockout.js carriage-return paragraph
How to add a carriage return to XML output in Java

In Java how do I output a carriage return in the resulting XML file, so that everything isn't on one …

java xml carriage-return
String length differs from Javascript to Java code

I've got a JSP page with a piece of Javascript validation code which limits to a certain amount of characters …

java javascript string carriage-return
linefeed character reading in java

I am wondering that when I open a file in notepad. I see a continuous line without any carriage return/…

java carriage-return linefeed
carriage return by fgets

I am running the following code: #include<stdio.h> #include<string.h> #include<io.h&…

c string fgets carriage-return
Remove \r and \n from AES encrypted string

I am encrypting a string using AES but the encrypted string contains \n and \r at the end. public class …

java encryption aes newline carriage-return
Unquoted carriage return found in data - Preventing COPY FROM in PostgreSQL

I am trying to import a large csv file (~4.5gb) into Postgres but it keeps throwing the following error: ERROR: …

postgresql carriage-return
Batch: delete line feed from end of text file?

I have a .txt file where I need to get rid of the last line feed. Looking at the file …

batch-file carriage-return linefeed
How to split only on carriage returns with readlines in python?

I have a text file that contains both \n and \r\n end-of-line markers. I want to split only on \…

python newline carriage-return