Pike v8.1 release 6

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.