Multibyte String

mbstring provides function to process multibyte strings functions. Moreover, mbstring converts from and to various character encodings.

<?php

    /* Convert EUC-JP to UTF-7 */
    $str = mb_convert_encoding($str, "UTF-7", "EUC-JP");

?>

Documentation

Related : Iconv, Encoding, Text Encoding, strtolower(), strtoupper()