mirror of
https://github.com/textmate/textmate.git
synced 2026-01-15 01:38:02 -05:00
Note that the documentation is a bit outdated as it hasn’t been touched since the first public alpha — updated documentation will appear when closer to final release, in the meantime interested parties should watch the release notes, wiki, and mailing list. Closes #822.
422 B
422 B
title: Detecting File Encoding
Encodings
TextMate will do a few tests against your file:
- Does it have an UTF-8/16/32 BE/LE BOM? Do not take this to mean that UTF-8 BOMs are fine!
- Does it have a
com.apple.TextEncodingextended attribute? - Does it have an
encodingsetting via.tm_properties? - Is it valid ASCII/UTF-8?
If all of these tests fail, it will ask you to pick the proper encoding.