On Mon, Nov 21, 2011 at 10:14, Nobuyoshi Nakada <nobu / ruby-lang.org> wrote:

> I agree that exceptions need to consider encodings.
> But I'm curious about your usage. Which needs the encoding, the format string or arguments to be converted?

Well, I simply think that passing the encoding to rb_enc_vsprintf as
in the patch should be fine.  That, as I understand it, sets the
encoding of the format string and then any arguments will be converted
to the format strings encoding.  Is that correct?