> I'm ok with the idea of configuring the specific encoding someone wishes to use for output, but that won't prevent differently encoded programatic output clashing...

We'd still want to use something like the `:undef` option you have here to deal with that.  The point is to let the user choose what final encoding they want rather than trying to guess.