[OS X TeX] reading the encoding of a file from its extended attributes

Claus Gerhardt claus.gerhardt at uni-heidelberg.de
Sat Dec 11 12:52:21 EST 2010

When a file has its encodings stored in its extended attributes as com.apple.TextEncoding, e.g., every plain text file saved by TextEdit 1.5 or better, then the attached application will read this attribute and display it as well as saving it to the clipboard.

Usage: Select the file in Finder and run the application preferably from the Dock.
Requirements: OS 10.5 or better

The corresponding shell command would be

xattr -l path

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Encoding.app.zip
Type: application/zip
Size: 179682 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20101211/8dc0dd8e/attachment.zip>

More information about the MacOSX-TeX mailing list