i'm trying make autotest by selenium and laravel
everysing it is ok, but error comes out when get korean text
i'm think it's incoding problem but i don't know how can fix that
error look like this,
i must get text data like
'한국어'.
but now is i get textdata like
'ì¤ì ë,ìì§ìë£,'.
and iconv not work for this problem
$target = $driver->findElement(WebDriveryBy::xpaht('target'))->getAttribute('innerText');
$target = iconv('ECU-KR', 'UTF-8', $target);
Log::alert($target);
--result
'ì¤ì ë,ìì§ìë£,'.
please help me to how solve this proble. thanks for reading my post.