Lines Matching refs:mb_convert_encoding
2 mb_convert_encoding()
18 $s = bin2hex(mb_convert_encoding($sjis, 'EUC-JP', 'SJIS'));
21 $s = bin2hex(mb_convert_encoding($jis, 'EUC-JP', 'JIS'));
24 $s = mb_convert_encoding($euc_jp, 'SJIS', 'EUC-JP');
27 $s = mb_convert_encoding($euc_jp, 'JIS', 'EUC-JP');
35 $s = bin2hex(mb_convert_encoding($s, 'EUC-JP', $a));
39 $s = mb_convert_encoding($s, 'SJIS', $a);
43 $s = mb_convert_encoding($s, 'JIS', $a);
51 $s = bin2hex(mb_convert_encoding($s, 'EUC-JP', $a));
55 $s = mb_convert_encoding($s, 'SJIS', $a);
59 $s = mb_convert_encoding($s, 'JIS', $a);
63 echo "UTF-8: " . mb_convert_encoding('test', 'UTF-8', mb_list_encodings()), "\n";
69 $s = bin2hex(mb_convert_encoding($s, 'EUC-JP', 'auto'));
73 $s = mb_convert_encoding($s, 'SJIS', 'auto');
77 $s = mb_convert_encoding($s, 'JIS', 'auto');
82 $s = mb_convert_encoding(1234, 'EUC-JP');
85 $s = mb_convert_encoding('', 'EUC-JP');
90 var_dump(mb_convert_encoding($str, $encoding));
125 mb_convert_encoding(): Argument #2 ($to_encoding) must be a valid encoding, "BAD" given
127 Deprecated: mb_convert_encoding(): Handling QPrint via mbstring is deprecated; use quoted_printable…
130 Deprecated: mb_convert_encoding(): Handling Base64 via mbstring is deprecated; use base64_encode/ba…
133 Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspeci…