Why Your PowerShell Script Produces Mojibake (And How to Fix It)
If you’ve ever written a PowerShell script that produces a file containing non-ASCII characters, like an → (arrow), a ≈ (approximately equal), or characters from a non-English alphabet, you may have run into one of the more confusing encoding bugs in the Windows ecosystem. The bug shows up most often when the script was generated…
