- Posted by
- A workaround. Often, I want to do something with selected text in a file, regardless of its encoding. I only know that it only contains characters of the Latin-1 character set. Since text usually doesn't contain the null byte, and a Latin-1 char x is represented as "x NUL" in UTF-16 (which is the fo...Posted in Scripts
-   Topics
-   Views
- rplantiko
Jun 13, 2012
- Thank you, Mofi, I wrote the following script to find out all the properties of the UltraEdit document var doc = UltraEdit.document[0]; for (x in doc) { UltraEdit.outputWindow.write( x + ":" + doc[x] + "\n" ); } The properties "line terminator" and "encoding" are not contained in the list, which sug...Posted in Scripts
-   Topics
-   Views
- rplantiko
Jun 13, 2012
- Hi all, when I open a file in UltraEdit (v 14.00a+1), the status bar displays the line ending type and the current encoding as a short string, e.g. "DOS" or "U8-UNIX". In the scripting object model of UltraEdit, where can I access this property? I found out that scripts often do not work because the...Posted in Scripts
-   Topics
-   Views
- rplantiko
Jun 13, 2012