A script to verify text file encodings in a repository

ci encoding
1 Open Issue Need Help Last updated: Jun 3, 2025

Open Issues Need Help

View All on GitHub
Developer Tools File Encoding Verification

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