Jump to content


Photo

Character Encoding and strpos()


  • Please log in to reply
No replies to this topic

#1 iyacp

iyacp
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 03 August 2006 - 02:38 PM

Hi,
I'm trying to locate a string within a HTML document. However, I'm facing with encoding problems. Due to this problems strpos () function fails.
I'm directly reading content of HTML page using fsockopen() and fread(). Encoding of HTML document is iso-8859-9(turkish) and encoding of the string I want to locate is windows-1254(again turkish). How can I solve this problem? Any ideas?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users