[OS X TeX] reading the encoding of a file from its extended attributes
claus.gerhardt at uni-heidelberg.de
Sat Dec 11 18:52:21 CET 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...
Size: 179682 bytes
Desc: not available
More information about the macostex-archives