Project

General

Profile

Actions

Feature #5650

closed

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

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

Status:
Closed
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
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0