Issue #5650 has been reported by Nikolai Weibull.

----------------------------------------
Bug #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: Open
Priority: Normal
Assignee: 
Category: core
Target version: 
ruby -v: uby 2.0.0dev


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