[PHPTAL] html entities with phptal

Nestor A. Diaz nestor at tiendalinux.com
Mon Jul 10 15:51:18 CEST 2006


Hello, for some time ago i was waiting for the oportunity to build an 
application with phptal, and i begin to do so this week, i currently 
have a problem with htmlentities, since i write spanish aplications i 
make use of special iso8859-1 character, aáéíóú, so the problems comes 
with the following:

$template->title = "á";

produce the following:

á

So, what is the correct way to process non english characters ? of course i can do this with the following:

$template->title = "á"; 

but what if i want to play with html entities codes ?

Thanks.

-- 
Nestor A. Diaz
Ingeniero de Sistemas
Tel. +57 1-600-5490 x 211
Cel. +57 316-227-3593
Tel. SIP: sip:211 at tiendalinux.com
Email/MSN: nestor at tiendalinux.com
http://www.tiendalinux.com/
Bogota, Colombia 




More information about the PHPTAL mailing list