Add encoding_rs-based body_as_decoded_string() to Response that consults the Content-Type charset header, supporting ISO-8859-1, Windows-1252, Shift_JIS, and other encodings. Falls back to UTF-8 lossy when charset is absent or unrecognized. Replaces all body_as_string_lossy() call sites in the rendering pipeline. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
270 B
270 B