Re: Removing strange chars from array (or string)
| From: | John Holmes | Date: | Wed, 15 Sep 2004 14:47:35 +0000 |
| Subject: | Re: Removing strange chars from array (or string) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196735@lists.php.net to get a copy of this message | ||
From: "Zoran Lorkovic" <zoky@unreal-net.com>
Well, when parsing html page data I want to save is saved in txt file. But when saving in txt file I got some strange chars like small square (this I see when open in NotePad). [snip]
Am I missing something?You forgot to post your code. If you're only using \n for newlines, Notepad won't recognize them (it's expecting \r\n) and will mess up your layout. ---John Holmes...