<?php $str = '東舘町'; var_dump(mb_detect_encoding($str, ['UTF-8', 'SJIS-WIN'])); var_dump(mb_detect_encoding($str, ['UTF-8', 'SJIS-WIN'], true)); var_dump(mb_detect_encoding($str, ['UTF-8', 'SJIS-WIN'], false));
You have javascript disabled. You will not be able to edit any code.