We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

.TXT formatting in email attachment

john539
john539 Posts: 16,968 Forumite
Part of the Furniture 10,000 Posts
I sent some .TXT notepad files attached to an email.

When I opened elsewhere online (opened in notepad), the formatting of the text was all messed up, line spacing & carriage returns had all disappeared, so text was all in one block as a continuous line.

I wouldn't have thought attaching & sending .TXT file in email would affect formatting, as there little or no formatting anyway.

Any idea what's happened ?

Comments

  • fitshase
    fitshase Posts: 443 Forumite
    Click Format\Word Wrap and it should be fine.
  • john539
    john539 Posts: 16,968 Forumite
    Part of the Furniture 10,000 Posts
    fitshase wrote: »
    Click Format\Word Wrap and it should be fine.
    I tried that, didn't work.

    I sent 7 .txt files, they are all the same.

    Some control characters are being displayed.

    Strange.
  • john539
    john539 Posts: 16,968 Forumite
    Part of the Furniture 10,000 Posts
    fitshase wrote: »
    Click Format\Word Wrap and it should be fine.
    Does saving .TXT file with Word Wrap On/Off affect formatting & how it is displayed on another Pc ?

    I think this is just for display, isn't it ?
    Doesn't affect how document is formatted on Save, does it ??

    Anyone know.
  • bat999
    bat999 Posts: 1,951 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Combo Breaker
    Hi
    Have you tried viewing those txt files with a different program such as Wordpad?
    Never interrupt your enemy when he is making a mistake.
  • Stompa
    Stompa Posts: 8,390 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    john539 wrote: »
    I think this is just for display, isn't it ?
    Yes.
    john539 wrote: »
    Doesn't affect how document is formatted on Save, does it ??
    No, it doesn't.
    Stompa
  • What I meant was put the word wrap on the machine you have sent them to. For some reason Notepad doesn't default to word wrap and if someone is using it for the first time, it won't be on.

    Edit: sorry, realised you've tried that!

    Alternatively, put the text in a plain text e-mail instead. Set your e-mail program for format as plain text.
  • RobTang
    RobTang Posts: 1,064 Forumite
    Attaching files to email can affect the attachement if your email client (on either end) isn't very clever.

    Normally files should be encoded (when sent) in somthing like base64, but it may be tring to be clever and reduce size by keeping it verbatum, then somthing else it cleaning the email later to reduce size, removing all whitespace is common as its not normall important.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.6K Banking & Borrowing
  • 254.2K Reduce Debt & Boost Income
  • 455.1K Spending & Discounts
  • 246.7K Work, Benefits & Business
  • 603K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.7K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.