Auto‑detects encoding and converts buffer to UTF‑8 string.
Input buffer
Options
Fallback encoding (default: 'utf8')
Detected encoding and converted text
Auto‑detects encoding and converts buffer to UTF‑8 string.