| Crates.io | nobom |
| lib.rs | nobom |
| version | 0.1.0 |
| created_at | 2025-08-17 03:51:56.585923+00 |
| updated_at | 2025-08-17 03:51:56.585923+00 |
| description | A simple utility to remove UTF-8 BOM (Byte Order Mark) from stdin and write to stdout |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1799108 |
| size | 38,858 |
A simple utility to remove UTF-8 BOM (Byte Order Mark) from stdin and write to stdout.
After installation:
echo -e "\xEF\xBB\xBFHello, world!" | nobom
Or with files:
nobom < file_with_bom.txt
cargo run < file_with_bom.txt
cargo install nobom
git clone https://github.com/aisk/nobom.git
cd nobom
cargo build --release
The binary will be available at target/release/nobom.
# Create a file with BOM
printf '\xEF\xBB\xBFHello, world!' > test.txt
# Remove BOM (after installation)
nobom < test.txt > output.txt
# Or during development
cargo run < test.txt > output.txt