From: Nikolai Weibull Date: 2011-11-24T04:55:42+09:00 Subject: [ruby-core:41259] Re: [ruby-trunk - Feature #5650][Feedback] Add rb_enc_raise() to allow C extensions to raise errors with messages with correct encoding On Mon, Nov 21, 2011 at 10:14, Nobuyoshi Nakada 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?