SEO Dave
12-26-2004, 04:18 PM
Got a strange problem (not a major problem, but an irritation really).
Sometimes when I download txt, php, html (text based) files some of
the charachters aren't recognised by Notepad or Notespad (Notepad
replacement program).
The charachters are always carriage return and shown as a square
rather than a returning the next text to the next line.
This means all the text or code for web pages is on one line which is
a mess.
I've found some programs can read the correct character (Dreamweaver
for example) and if I upload the files to a server and then download
the problem goes away for PHP files but not others (which is really
weird)!!
If it was just Notespad (the notepad replacement program) I'd assume
it was a bug within the program, but it's also a problem with Notepad
that comes as standard with MS Windows.
The squares are recognised as carriage returns, by Forte' Agent (what
I use for email/NGs). For example this is code from such a file
(pasted the 'square' code and got this)-
=================================================
<?php
/*
$Id: account.php,v 1.61 2003/06/09 23:03:52 hpdl Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
require('includes/application_top.php');
if
=================================================
Downloaded Oscommerce and every file I've looked at has squares in
place of carriage return. I've removed
Does anyone know what causes this and how to remove the problem
without having to upload to a server (which doesn't work with non PHP
files anyway)?
David
--
http://www.search-engine-optimization-services.co.uk/
Sometimes when I download txt, php, html (text based) files some of
the charachters aren't recognised by Notepad or Notespad (Notepad
replacement program).
The charachters are always carriage return and shown as a square
rather than a returning the next text to the next line.
This means all the text or code for web pages is on one line which is
a mess.
I've found some programs can read the correct character (Dreamweaver
for example) and if I upload the files to a server and then download
the problem goes away for PHP files but not others (which is really
weird)!!
If it was just Notespad (the notepad replacement program) I'd assume
it was a bug within the program, but it's also a problem with Notepad
that comes as standard with MS Windows.
The squares are recognised as carriage returns, by Forte' Agent (what
I use for email/NGs). For example this is code from such a file
(pasted the 'square' code and got this)-
=================================================
<?php
/*
$Id: account.php,v 1.61 2003/06/09 23:03:52 hpdl Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
require('includes/application_top.php');
if
=================================================
Downloaded Oscommerce and every file I've looked at has squares in
place of carriage return. I've removed
Does anyone know what causes this and how to remove the problem
without having to upload to a server (which doesn't work with non PHP
files anyway)?
David
--
http://www.search-engine-optimization-services.co.uk/