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

  • Home
  • SEARCH
  • 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 7053751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:32:35+00:00 2026-05-28T03:32:35+00:00

while working on an export to Excel I discovered the following problem. If you

  • 0

while working on an export to Excel I discovered the following problem.

If you create a table where one cell has a line break and you save the document as a txt file it will look like this:

"firstLine<LF>secondLine"<TAB>"secondColoumn"

When I open this file in Excel the line break is gone and the first row has only one cell with the value firstLine

Do you know if it is somehow possible to keep the line breaks?

EDIT: Applies to Excel2010. Don’t know if other versions behave different.

EDIT2: Steps to reproduce:

  1. Open blank excel sheet
  2. Enter text (first column with line break, second colum not important)
  3. Save as Unicode Text (txt) // all other txt don’t work as well
  4. Close Excel file
  5. File->Open
  6. No changes in the upcoming dialog.

The excel file has now 2 rows which is wrong.

  • 1 1 Answer
  • 0 Views
  • 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. Editorial Team
    Editorial Team
    2026-05-28T03:32:36+00:00Added an answer on May 28, 2026 at 3:32 am

    I was finally able to solve the problem! yay 😀

    CSV:

    The german Excel needs a semicolon as a separator. Comma doesn’t work.

    Note: This is only true when the file is encoded as UTF-8 with BOM at the beginning of the file. If it’s ASCII encoded comma does work as a delimiter.

    TXT:

    The encoding has to be UTF-16LE. Also it needs to be tab delimited.

    Important:
    The files will still be displayed incorrect if you open them with the “File->Open” dialog and “import” them. Draging them into Excel or opening with double click works.

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

Sidebar

Related Questions

While working on an existing project I suddenly got the following error when trying
While working a project tonight, I ended up using one .js resource file for
While working on Hadoop Implementation in Pseudo-Distributed Operation, I found following exception of JAVA_HOME
I would like to export my code from the working svn copy while including
I've had this problem for a while, and no one I've talked to on
While working in a Java app, I recently needed to assemble a comma-delimited list
While working between a Windows MySQL server and a Debian MySQL server, I noticed
While working on a project, I came across a JS-script created by a former
While working on a C++ project, I was looking for a third party library
While working my way through the Android tutorials, I came across something I don't

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.