Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Locale
Locale.Charset
Locale.Charset.Encoder

Method Locale.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.