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

Suggestions and feature requests.
Post Reply
Message
Author
stephen147
Posts: 287
Joined: 18.10.2015, 16:44

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

#1 Post by stephen147 » 14.12.2020, 02:24

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
Sceenshots made easy with ShareX.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest