Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 44025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:35:15+00:00 2026-05-10T15:35:15+00:00

Does your software handle newline characters from other systems? Linux/BSD linefeed ^J 10 x0A

  • 0

Does your software handle newline characters from other systems?

Linux/BSD    linefeed         ^J    10     x0A Windows/IBM  return linefeed  ^M^J  13 10  x0D x0A old Macs     return           ^M    13     x0D others? 

For reasons of insanity, I am going with using the Linux version of the newline character in my text files. But, when I bring my text files over to say Windows, some programs do not play nicely with newline characters in my text. How would you deal with this?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T15:35:15+00:00Added an answer on May 10, 2026 at 3:35 pm

    As they say, be strict in what you write and liberal in what you read.

    Your application should be able to work properly reading both line endings. If you want to use linefeeds, and potentially upset Windows users, that’s fine.

    But save for Notepad, most programs I play with seem to be happy with both methods.

    (And I use Cygwin on Windows, which just makes everything interesting)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does your work environment use Harvest SCM? I've used this now at two different
Does your editor/ide highlight that a++; in this C/C++ code as part of a
How does your employer limit/prevent pirating of its products? Some have the view that
Especially when considering a fresh Rails project, what does your version control and deployment
Anybody out there using BGL for large production servers? How many node does your
Have you tried Psyco in a wsgi application (custom, Pylons, Django...)? What does your
Does the functional spec help or hinder your expectations? Do programmers who practice the
Does it make sense to use interfaces for your domain object factories by default,
Does anyone know of excellent (in your opinion) books/websites that go over in details
I am currently writing a plugin to a CAD style software. The plugin does

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.