<?php $str = '14'; $encodings = ['ASCII', 'UTF-8', 'UTF-16', 'UTF-16LE']; echo bin2hex($str) . ' - ' . mb_detect_encoding($str, $encodings, true)."\n"; $str = 'DQ'; echo bin2hex($str) . ' - ' . mb_detect_encoding($str, $encodings, true)."\n";
You have javascript disabled. You will not be able to edit any code.