Jump to content

Escape characters on Windows7

Recommended Posts

They are not working. Do I need to specify Unicode? They do not print or find properly either. Thanks!while($line=fgets($fh)){ $eachline[$entries] = $line; $entries++;}$startatline = 0;while($startatline <= $entries){ $findtab = strpos($eachline[$startatline], "\t" ); $barname=substr($eachline[$startatline], 0, $findtab-1); $findcr = strpos($eachline[$startatline], "\r" ); $baraddress=substr($eachline[$startatline], $findtab, $findcr-1); echo $barname; echo $baraddress; echo '\r'; echo '\n'; $startatline++;}

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...