can't identify/eliminate source of "odd characters" in template-generated page source

From: Date: Tue, 03 Jan 2006 04:08:24 +0000
Subject: can't identify/eliminate source of "odd characters" in template-generated page source
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13210@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 hi all, i've Smarty-2.6.11 + PHP 5.1.1 + Apache 2.3.0-dev installed on OSX 10.4.3. getting my site up just fine, to date. one annoyance is driving me nuts though ... i've got some "errant" characters showing up in my browser-display ... and in my generated page source. e.g., in one case, my page-top template, ("doctype_header.tpl") is, simply: ======================== <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=macintosh" /> ======================== but, after generation, i'm seeing the following characters DISPLAYED at the top of my browser page display:   and the generated source is: ======================== Ôªø Ôªø <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=macintosh" /> ======================== NOTE, those first two lines of #^%$ ... this smells line an encoding issue, but for the lif o' me, i can't figure out where to look for / fix this. suggestions? thanks! richard - -- /"\ \ / ASCII Ribbon Campaign X against HTML email, vCards / \ & micro$oft attachments [GPG] OpenMacNews at gmail dot com fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (Darwin) iEYEAREDAAYFAkO5+LcACgkQlffdvTZxCMYbGACfX8cRDxrcJimv7aZbqQOoJhcc Yn0An27laHSpiUy48dg0dmUgMXTaqCAd =w381 -----END PGP SIGNATURE-----

« previous php.smarty.general (#13210) next »