That sets the encoding for email content generated by the template - most email clients expect latin1 for email content. Obviously it is also a parameter to the function so you can pass any supported encoding but unless you know your target audience, latin1 behaves most consistently :)
For normal template output the default is UTF-8 (as per line 96 of https://github.com/namesco/ZTal/blob/master/Tal/View.php) Robert On 5 Jan 2011, at 12:21, aaatoja wrote: > And also https://github.com/namesco/ZTal/blob/master/Mail.php line 74. I > can't remember if I saw just inside this file or somewhere else. > > _______________________________________________ > PHPTAL mailing list > PHPTAL@lists.motion-twin.com > http://lists.motion-twin.com/mailman/listinfo/phptal _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal