I used to convert the encoding through iconv, but today I settled on something new for me.
I did a test to make my question clear:
target is converted الحلقة الثالثةto its utf8 version: الحلقة الثالثة
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title> this text is from arabic language </title>
</head>
<body>
<p><span> الحلقة الثالثة</span></p>
</body>
</html>
tried to use an encoding type ASCII , LATIN1 , windows-1252, but no luck how can I say that this is an encoding type to convert it? were both google translate + stackoverflow editors able to detect it and hide it?
another example: this site http://kanjidict.stc.cx/recode.php was able to correctly convert the encoding if I checkedAssume HTML (default: handle as plain text)
that I went missing and these 3 websites did it to convert it correctly ????