Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Text file
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Apple Macintosh text files === Prior to the advent of [[macOS]], the [[classic Mac OS]] system regarded the content of a file (the data fork) to be a text file when its [[resource fork]] indicated that the type of the file was "TEXT".<ref name="mac-uti">{{cite web |url=https://developer.apple.com/library/prerelease/content/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html |title=System-Declared Uniform Type Identifiers |work=Guides and Sample Code |publisher=[[Apple Inc.]] |date=2009-11-17 |access-date=2016-09-12}}</ref> Lines of classic Mac OS text files are terminated with CR characters.<ref name="mac-line-endings">{{cite web |url=https://developer.apple.com/library/mac/documentation/OpenSource/Conceptual/ShellScripting/PortingScriptstoMacOSX/PortingScriptstoMacOSX.html |title=Designing Scripts for Cross-Platform Deployment |work=Mac Developer Library |publisher=[[Apple Inc.]] |date=2014-03-10 |access-date=2016-09-12}}</ref> Being a Unix-like system, macOS uses Unix format for text files.<ref name="mac-line-endings"/> [[Uniform Type Identifier]] (UTI) used for text files in macOS is "public.plain-text"; additional, more specific UTIs are: "public.utf8-plain-text" for utf-8-encoded text, "public.utf16-external-plain-text" and "public.utf16-plain-text" for utf-16-encoded text and "com.apple.traditional-mac-plain-text" for classic Mac OS text files.<ref name="mac-uti" />
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)