| Extracted from Pike v7.8 release 866 at 2018-07-18.

[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.