Created
August 3, 2014 08:10
-
-
Save tanb/02808db1e86b820f4fb3 to your computer and use it in GitHub Desktop.
xattr to display sjis on quicklook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ xattr -p com.apple.TextEncoding ~/Desktop/myfile.txt | |
xattr: /Users/tanb/Desktop/myfile.txt: No such xattr: com.apple.TextEncoding | |
$ xattr -p com.apple.TextEncoding ~/Desktop/myfile.txt | |
SHIFT_JIS;2561 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment