The warning is: "Trying to compare files with different encodings - the result might be inaccurate and misleading. Compare anyway?"
The two files I'm comparing have been outputted from the same script. The output from the script is via
# Write to file
($street | Out-String).Trim() | Add-Content -Path $filesPathAdminElectorateStreets -Encoding UTF8
The only difference is the filename e.g file.txt & file1.txt Functionality is normal from this point on.
Why am I receiving this message? Can you suggest a fix or workaround?