Hi there guys, I'm using strpos to lookup for string into web page bodies. 50% it fails, although the search string is present. I have tried to strtolower both search string and searched content, same results. Probabily the problem arises when dealing with different charsets...
Assuming: - search string charset is unknown - searched content charset is unknown - charset could be any ISOxx, UTF-8, Shift-JIS
Is there a bulletproof function to find a substring?