From f460cf6300cbf16462a62a6c66eda65e9bae1e5f Mon Sep 17 00:00:00 2001 From: Tang Rufus Date: Mon, 24 Aug 2026 08:37:40 +0100 Subject: [PATCH] Readme: Fix typo --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ab10dd5..7272d1c 100644 --- a/README.md +++ b/README.md @@ -39,10 +39,9 @@ - Parse WordPress plugin headers from PHP files - Parse WordPress theme headers from `style.css` - Parse unzipped plugin and theme directories -- Parse plugin and theme zip archives containing (CLI only) +- Parse plugin and theme zip archives (CLI only) - Normalize CR and CRLF line endings -- Apply best-effort encoding fallback before header parsing - Heuristics (in order): +- Apply best-effort decoding (in order): 1. If input is already valid UTF-8, return it (strip UTF-8 BOM if present) 2. Check for UTF-32 BOMs (BE/LE) and decode when present 3. Check for UTF-16 BOMs (BE/LE) and decode when present