Quantcast
Channel: linefeed character reading in java - Stack Overflow
Browsing all 4 articles
Browse latest View live

Answer by Synesso for linefeed character reading in java

The character \n is 0a (carriage return). If you split Windows line separators by \n only you'll split on the 0a, leaving the 0d characters behind.Notepad shows 0a as a square, but it will render 0d0a...

View Article



Answer by Marc-Christian Schulze for linefeed character reading in java

Java internally works with Unicode. The Unicode standard defines a large number of characters that conforming applications should recognize as line terminators:[3] LF: Line Feed, U+000A VT: Vertical...

View Article

Answer by ioreskovic for linefeed character reading in java

Windows Notepad is something to be strongly avoided when dealing with any type of text file.I suggest using Notepad++. Not only he'll display your text nicely, but it also has a feature to encode the...

View Article

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/line feed. I made a java program to read the file. When I split the data from file by using \n or...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images