Project

General

Profile

Feature #5650

Add rb_enc_raise() to allow C extensions to raise errors with messages with correct encoding

Added by now (Nikolai Weibull) over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
[ruby-core:41160]

Description

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.


Files

rb_enc_raise.patch (1023 Bytes) rb_enc_raise.patch now (Nikolai Weibull), 11/20/2011 03:33 AM

Also available in: Atom PDF