Can OS X read .txt files ?

Talk about just about anything else that is non-gaming here, but keep it clean
User avatar
Ziggy
Moderator
Posts: 14913
Joined: Mon Jun 09, 2008 5:12 pm
Location: NY

Can OS X read .txt files ?

Post by Ziggy »

I would have Googled it, but (skip if you want):
Simple question, should have been a simple Google, but no. I love when I Google something and the top hits are Forums with thread titles the same as my question but all the replies are idiots with contradicting answers (on purpose - to fuck with the person who asked - how dare you ask a question!) and others saying "Google it you fucking retard!" It's very frustrating when you can't Google something because all the hits are forums with people telling some one that asked to Google it.

http://forums.anandtech.com/showthread.php?t=2146609

Changing my search criteria didn't help, it gave me all "CONVERT TXT TO PDF ON MAC!!!!1!!" and all that jazz.

So, simple question: Can OS X read a .txt file. More specifically, if I create a .txt in notepad on my Windows 7 PC will some one on a Mac be able to open it and read it?
User avatar
pierrot
Next-Gen
Posts: 4196
Joined: Thu Feb 09, 2012 2:54 am
Location: Banned

Re: Can OS X read .txt files ?

Post by pierrot »

I'm pretty sure Text Edit (OS X version of notepad) saves files in .txt anyway. I don't think there's any issues with .txt in mac.

EDIT: Nevermind, it default saves to .rtf, but I still don't think there's any issues opening .txt files in Text Edit.
_____________________________________
Steam (and other) keys for trade/free: viewtopic.php?p=1189267#p1189267

B/S/T Thread: viewtopic.php?p=1188724#p1188724
User avatar
CRTGAMER
Next-Gen
Posts: 11933
Joined: Tue Jan 05, 2010 11:59 am
Location: Southern California

Re: Can OS X read .txt files ?

Post by CRTGAMER »

OSX does read txt files with its own version of Text Edit. I have found when I save a txt in OSX and then read it in Windows Note Pad the line breaks are messed up. Instead of proper Return there are square blocks - □, with the text scolling all the way to the right. Weird that OSX will read the Windows based txt files just fine with proper line breaks.

From Windows Note Pad to OSX Text Edit no issues.

From OSX Text Edit to Windows Note Pad - Readable but scrolls to right.

If going from OSX to Windows, I use MS Word to get around this and save as a text file.
Image
CRT vs LCD - Hardware Mods - HDAdvance - Custom Controllers - Game Storage - Wii Gamecube and other Guides:
CRTGAMER Guides in Board Guides Index: http://www.racketboy.com/forum/viewtopi ... 5#p1109425

Image
Image
User avatar
o.pwuaioc
Next-Gen
Posts: 8484
Joined: Tue Mar 29, 2011 7:59 pm
Location: I miss NYC.

Re: Can OS X read .txt files ?

Post by o.pwuaioc »

.txt files are nigh universal, and should be able to be read by most modern OSs (and many retro ones), including Windows, Mac, and Linux.
User avatar
Hobie-wan
Next-Gen
Posts: 21705
Joined: Sat Aug 15, 2009 8:28 pm
Location: Under a pile of retro stuff in H-town
Contact:

Re: Can OS X read .txt files ?

Post by Hobie-wan »

CRTGAMER wrote:OSX does read txt files with its own version of Text Edit. I have found when I save a txt in OSX and then read it in Windows Note Pad the line breaks are messed up. Instead of proper Return there are square blocks - □, with the text scolling all the way to the right. Weird that OSX will read the Windows based txt files just fine with proper line breaks.
Could be a difference between using a Line Feed/Enter versus Carriage Return/Return. Some old DOS created text files do the same thing in Windows. If you open them in Notepad they'll just trail off to the right, or if you have word wrap turned on they'll just fit the width of the window. But if you open those files in Wordpad or a bigger word processing program, they'll have line breaks as expected. I've seen it happen a lot with old text README files and such.
Valkyrie-Favor
Next-Gen
Posts: 2347
Joined: Fri Dec 30, 2011 6:27 pm
Location: Skies over Midgard

Re: Can OS X read .txt files ?

Post by Valkyrie-Favor »

All OSes can read .txt files but there might be issues with character encoding, which would explain your carriage exchange problem. If you use Unicode all the time you should never have any problems.
Tsun tsun dere tsun dere tsun tsun~ . . . . . . . . . . . . . . . . . . . . . . . UPDATED trade list
Image
noiseredux wrote:Playing on your GBA/PSP you can be watching a movie/TV show/playing another RPG on your TV and then just look at the screen every once in a while
User avatar
Duke.Togo
128-bit
Posts: 568
Joined: Sat Feb 04, 2012 9:52 pm
Location: Indiana, USA

Re: Can OS X read .txt files ?

Post by Duke.Togo »

Just get the free app Text Wrangler, it has support for different types of text files and is an excellent editor.
User avatar
Ziggy
Moderator
Posts: 14913
Joined: Mon Jun 09, 2008 5:12 pm
Location: NY

Re: Can OS X read .txt files ?

Post by Ziggy »

So looks like the answer is a yes, like I thought.

pierrot wrote:I'm pretty sure Text Edit (OS X version of notepad) saves files in .txt anyway. I don't think there's any issues with .txt in mac.

EDIT: Nevermind, it default saves to .rtf, but I still don't think there's any issues opening .txt files in Text Edit.


Well Window's Word Pad saves to a .rtf file... so can OS X read this as well?
User avatar
Michi
Next-Gen
Posts: 4815
Joined: Mon Dec 27, 2010 9:47 pm
Location: Florida

Re: Can OS X read .txt files ?

Post by Michi »

Ziggy587 wrote:So looks like the answer is a yes, like I thought.

pierrot wrote:I'm pretty sure Text Edit (OS X version of notepad) saves files in .txt anyway. I don't think there's any issues with .txt in mac.

EDIT: Nevermind, it default saves to .rtf, but I still don't think there's any issues opening .txt files in Text Edit.


Well Window's Word Pad saves to a .rtf file... so can OS X read this as well?
I just opened a .txt and a .rtf file on my Mac and they both opened with no problem. So as long as they have TextEdit installed, I don't see why they wouldn't be able to open it.
User avatar
Duane Dibbley
128-bit
Posts: 605
Joined: Thu Mar 04, 2010 12:01 am
Location: Michigan
Contact:

Re: Can OS X read .txt files ?

Post by Duane Dibbley »

Ziggy587 wrote:Well Window's Word Pad saves to a .rtf file... so can OS X read this as well?
Yes. Rich text is pretty much universal as well.
My games for sale: Racketboy, Amazon, eBay
My systems: NES, Nintendo 64, GameCube (Game Boy Player), Wii / Game & Watch: Ball, Game Boy Advance, Game Boy Advance SP (x2), Nintendo DSi / Genesis (Sega CD, 32X), Saturn / Game Gear / PlayStation, PlayStation 2 / Xbox / Mac (Windows PC) / iPhone, iPad
Post Reply