I am actually using "Selenium" with "Perl". Selenium provides a method 'is_text_present' using which we can detect text on a web page.
My web page has some 'Hindi' text on it.
So in my code is I wanted to use that method e.g.
'$sel->is_text_present_ok("Some Hindi Text");'
But the Perl script is converting the Hindi text to series of 'question mark' characters shown below:
$sel->is_text_present_ok("??????");