[Solved] Line ending format

Started by: Salabim2 voices7 posts

Hi,

Is it possible to make it easier to detect the current document's line-ending format & Encoding method ?

As, an example, with this little notepad replacement, notepad2, it's very easy with these menu options :

File / Encoding...
File / Line Endings...

notepad2 here : http://www.flos-freeware.ch/notepad2.html

It would be great if EmEditor has these 2 tiny options too. :-)
That info is displayed in the status bar, bottom right-hand corner.
I only see "Western European (Windows) there.
I don't see or know which ending format was used (CR+LF or Unicode or ANSI or UTF-8)

If I open it in notepad2, I see everything on the status-line, and also using the File/... options.

I nowhere find which Line Ending format was used in EmEditor ?
(or if it's Unicode or ANSI) :-?
Western-European = ISO 8859-1, e.g. English ANSI

IF you choose Save-As you can change the Encoding from there.
Or File|Reload
Lets you change to UTF-8, or UTF-16LE (you can also do UTF-BE, but windows uses UTF-16LE) among other encodings.

If you do so, you will see the information in the status bar change.

As well if it is a standard windows file you'll see CR+LF in the bottom right of the Status Bar.

You can also change the "Return Method" in the Save-As dialog.
Thanks for the continuous help Crash,

The problem is, I don't want to save, I only want to know the proper specs when I open a file. This is especially important for like .srt (subtitle files for media files)

They need to be in a specific format or they are not recognized (correctly).

Western-European = ISO 8859-1, e.g. English ANSI

So, how do I recognize a Unicode format file then ?
It would be much easier if the status bar gives a more detailed info like Ansi or Unicode, same for the line ending format.

I have no single clue of the line-ending method used if the status bar says no more than "Western-European"
Tools | Customize
[Status]
...
[√] Return Method

If it is an "English" Ansi file, it will display Western EUropean.

If it is unicode, you'll see UTF-8 , or UTF-16LE, etc.

Personally, I'd prefer to just see ANSI, but EmEditor is used all over the world and it makes sense that it will show the actual 'codepage', though customizable in that aspect would be good.

Just save a file in one of the UTF formats during Save-As, or File|Reencode, and you'll see that.

Doh!

I had that option unchecked.
Thank you very very much Crash ! :-)

Topic = SOLVED

7 posts in this topic