Closed joeblack2k closed 2 years ago
this line generated a ANSI file:
Get-ChildItem -Recurse -Include *.mkv | Select-Object -ExpandProperty FullName | Set-Content queue.txt
open queue.txt and save it as a utf-8 file fixes it
Urgh, encoding always gets me. Sorry about that, glad you figured it out
@joeblack2k Using -encoding oem
with something like out-file
in PowerShell will select UTF-8 encoding.
Running the batch file spits out this error:
batch.rb:10:in `match': invalid byte sequence in UTF-8 (ArgumentError)
i'm running Windows 11 and using the powershell (but cmd also gives the error)
any idea whats going on?