Issue #5650 has been updated by Nobuyoshi Nakada.

Status changed from Open to Feedback
Target version set to 2.0.0

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?

----------------------------------------
Feature #5650: Add rb_enc_raise() to allow C extensions to raise errors with messages with correct encoding
http://redmine.ruby-lang.org/issues/5650

Author: Nikolai Weibull
Status: Feedback
Priority: Normal
Assignee: 
Category: core
Target version: 2.0.0


Currently, rb_raise raises exceptions with a message with an encoding set to ASCII-8BIT.  Adding rb_enc_raise() will allow the caller to raise an exception with a message with a given encoding.


-- 
http://redmine.ruby-lang.org