Pike v8.0 release 1738

Method Charset.Encoder()->set_replacement_callback()


Method set_replacement_callback

void set_replacement_callback(function(string:string) rc)

Description

Change the replacement callback function.

Parameter rc

Function that is called to encode characters outside the current character encoding.