<?php
mb_internal_encoding('UTF-8');
$content = 'Le Courrier de Sáint-Hyácinthe';
if(!mb_check_encoding($content, 'UTF-8')
OR !($content === mb_convert_encoding(mb_convert_encoding($content, 'UTF-32', 'UTF-8' ), 'UTF-8', 'UTF-32'))) {
$content = mb_convert_encoding($content, 'UTF-8');
}
mb_convert_case
echo ($content, MB_CASE_UPPER, "UTF-8");
- Output for 5.4.0 - 5.4.22
- Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/hG0WW on line 11
Process exited with code 255. - Output for 5.3.0 - 5.3.27
- Parse error: syntax error, unexpected T_ECHO in /in/hG0WW on line 11
Process exited with code 255.
preferences:
180.38 ms | 1395 KiB | 58 Q