Method Charset.Encoder()->set_replacement_callback()
- Method
set_replacement_callback
this_program
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.
- Returns
Returns the current object to allow for chaining of calls.