 |
Smarty
The discussions here are for Smarty, a template engine for the PHP programming language. Dedicated server web hosting provided by Guru-host.eu. |
| View previous topic :: View next topic |
| Author |
Message |
akitaben Smarty n00b
Joined: 12 May 2012 Posts: 2
|
Posted: Sat May 12, 2012 11:37 pm Post subject: [SOLVED] characters getting added to output |
|
|
There is a problem where Smarty is injecting what seem to be unicode characters into the output. This is messing up my pages. I've verified that all my php and tpl files are encoded using iso-8859-1. I definately don't have any unicode or multibyte characters in my code. I found them by using firebug plugin and also see them coming across in a packet capture.
It seems to occur around {include file=x} and at the top of any page I call $smarty->display()
here are some examples of what I'm seeing in starbug the boxes below are (ampersand, pound, six, five, two, seven, nine, semi-colon)
| Code: |
<html>
<head><title>my title</title></head>
<body>
𐋧𐋧𐋧
This is my content
</body>
</html>
|
Before I go digging into the smarty code, doe anyone have any ideas?[/code]
Last edited by akitaben on Sun May 13, 2012 3:39 am; edited 1 time in total |
|
| Back to top |
|
akitaben Smarty n00b
Joined: 12 May 2012 Posts: 2
|
|
| Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|