Page 1 of 1

Favourite Toolbars Parameters - Without BOM option for UTF-8 encoding

Posted: 14.12.2020, 02:24
by stephen147
I'm having a lot of trouble with the BOM header when using %ActivSelAsFileUtf8%.

In my batch file, I need to use this command to use PowerShell to replace the invisible characters of the output files list.

Code: Select all

powershell -command "(get-content %fileListParameter%) -replace '[\xEF\xBB\xBF]+', '' | set-content %fileListParameter%"
Would there be any chance of option for UTF-8 Without BOM for the same options as, with BOM?

In my batch file I can explicitly call to read utf-8 by adding this to the top of the batch file:

Code: Select all

chcp 65001