[TxMt] Re: TM2 feature request: show file encoding and line ending in status bar
mailinglist at textmate.org
Wed Aug 22 14:57:24 UTC 2012
On Aug 22, 2012, at 3:32 PM, Henning Holtschneider <henning at loca.net> wrote:
>> Not everyone (you work with) uses UTF8, sometimes people you work with save files in the wrong encoding and you have trouble down the line with your project because of that.
Which is why TextMate 2 throws up a dialog each time you open a non-UTF-8 file so you are made aware of it.
> However, back with TM1 there was the "File -> Re-open with encoding" menu item which was very useful to me in the kind of situation that you describe. Getting this menu item back in TM2 would IMO serve the purpose and spare precious space on the status bar.
This menu item was required in 1.x because it would take a guess at your encoding and sometimes get it wrong.
TextMate 2 does not do this, it forces you to tell what encoding the file is using (if it is not UTF-8 and encoding has not been set for the file via extended attributes or .tm_properties) — I have previously mentioned how I think this can be improved by not using a modal dialog, but instead show a top bar with the encoding guessed at and a pop-down to change it — this would pretty much serve the same functionality.
More information about the textmate