From: Nobuyoshi Nakada Date: 2011-11-21T18:14:25+09:00 Subject: [ruby-core:41172] [ruby-trunk - Feature #5650][Feedback] Add rb_enc_raise() to allow C extensions to raise errors with messages with correct encoding 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