I found bugs in UltraEdit v24.10.0.35.
Adding this code to a macro changes the encoding automatically.
UseEncoding 65001 ----> UseEncoding 43 or 5, etc.
UltraEdit.frInFiles.encoding not working.
Code: Select all
InsertMode
ColumnModeOff
HexOff
PerlReOn
ReplInFiles MatchCase RegExp Recursive UseEncoding 65001 "C:\Temp\" "*.lua" "^(step)" "\t\1"
UseEncoding 65001 ----> UseEncoding 43 or 5, etc.
UltraEdit.frInFiles.encoding not working.
Code: Select all
UltraEdit.ueReOn();
UltraEdit.outputWindow.clear();
if (UltraEdit.outputWindow.visible == false) UltraEdit.outputWindow.showWindow(true);
if (UltraEdit.document.length < 1)
{
UltraEdit.newFile();
}
UltraEdit.frInFiles.filesToSearch=0;
UltraEdit.frInFiles.directoryStart="d:\\Temp\\*.txt";
UltraEdit.frInFiles.useEncoding=true;
UltraEdit.frInFiles.encoding=65001;
UltraEdit.frInFiles.ignoreHiddenSubs=false;
UltraEdit.frInFiles.logChanges=true;
UltraEdit.frInFiles.matchCase=false;
UltraEdit.frInFiles.matchWord=false;
UltraEdit.frInFiles.preserveCase=false;
UltraEdit.frInFiles.searchSubs=false;
UltraEdit.frInFiles.regExp=true;
UltraEdit.frInFiles.unicodeSearch=true;
UltraEdit.frInFiles.useOutputWindow=true;
UltraEdit.frInFiles.replace("files","파일");