unicode_get_error_mode

Get the error mode for strings conversions

&reftitle.description; `int` `unicode_get_error_mode` `int` `direction`

Return the current error mode for string conversions in `direction`.

&reftitle.parameters;

`direction`

- Get the error mode for conversion `direction`. This can either be `FROM_UNICODE` or `TO_UNICODE`. See `unicode_set_error_mode` for more details.

&reftitle.returnvalues;

This function returns one of the error mode constants&return.falseforfailure;.

&reftitle.errors;

Emits a `E_WARNING` level error if `direction` is invalid.

&reftitle.notes; &warn.experimental.func;
&reftitle.seealso;

- `unicode_set_error_mode`
- `unicode_encode`
- `unicode_decode`