[WIP] Allow `send_file` to declare a charset
#26317

maclover7 wants to merge maclover7:jm-fix-26298 into rails:master

We do not currently have an analysis of these two commits