Open Issues Need Help
View All on GitHub Developer Tools • File Encoding Verification
Fails if file contains only BOM character about 2 months ago
AI Summary: The task is to fix a bug in a PowerShell script that verifies text file encodings. The script currently fails when encountering files containing only a Byte Order Mark (BOM) character. The fix involves adding a check to skip files with only a BOM and less than 3 bytes, preventing the script from attempting to write a null value to the file. The solution also needs to address the hardcoded magic number representing the BOM size.
Complexity:
3/5
bug help wanted good first issue
A script to verify text file encodings in a repository
PowerShell
#ci#encoding