I have a txt file (File encoded in ANSI according to Notepad++) that has '…' in it. I am reading in the file line by line, and I would like to replace … with ...
Everything I try seems to fail
$str = htmlentities($str); # trying to convert to … as I can deal with this$str = mb_ereg_replace("…","...",$str);$str = str_replace("…", "...", $str);
All of the above aren't working! What am I missing and how can I fix this issue?
NOTE: My php script that is trying to fix this is encoded in UTF8 and the php header is UTF8
Thanks in advance for any help!
txtfile in a hex editor, what bytes represent the…?