Re: [SMARTY] can't identify/eliminate source of "odd characters" in template-generated page source
| From: | Jochem Maas | Date: | Tue, 03 Jan 2006 10:53:21 +0000 |
| Subject: | Re: [SMARTY] can't identify/eliminate source of "odd characters" in template-generated page source | ||
| References: | 1 2 3 4 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13215@lists.php.net to get a copy of this message | ||
Patrick Ben Koetter wrote:
* OpenMacNews <openmacnews@gmail.com>:better yet just drop the last ?> if there is no static text to output in the rest of the file... e.g. --------------------------------------------------- <?php phpinfo(); include "my_special_info.php" ?> --------------------------------------------------- becomes: --------------------------------------------------- <?php phpinfo(); include "my_special_info.php" --------------------------------------------------- no more trailing spaces issues at any rate :-)hi mark, thanks 4 the reply! Mark Wright wrote:My last lesson had been: No whitespace before or after <?php ?>.Try this: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> Make sure you are using a plain text editor, not textedit.using that encoding CHANGES the characters, but does not eliminate them ... which makes me fairly _certain_ it's the encoding of some silly &^*&! file in my mess. i think a bulk line-ending/encoding housecleaning of all my text file is in order ... now if i can just remember how to set them in shell!
p@rick