ALIAS

mbenc()

ShortPHP reference for mb_convert_encoding().

Signature

mb_convert_encoding(array|string $string, string $to_encoding, array|string|null $from_encoding = null): array|string|false

Example

mbenc(...);

PHP equivalent

mb_convert_encoding() is the canonical PHP function. ShortPHP provides mbenc() as the convenience alias.

Extension: mbstring

Official PHP manual ↗

Reference navigation

Previous: mbcheck()

Next: mbdetect()

Back to reference