PowerToys.MonacoPreviewHandler crashes when rendering UTF-8 BOM
Microsoft PowerToys version
0.85.0
Installation method
PowerToys auto-update
Running as admin
None
Area(s) with issue?
File Explorer: Preview Pane
Steps to reproduce
The PowerToys.MonacoPreviewHandler.exe crashes when trying to render UTF-8 BOM file

✔️ Expected Behavior
To render the file correctly
❌ Actual Behavior
PowerToys.MonacoPreviewHandler.exe crashes
Other Software
No response