Hello, i have a simple phptal application, that used to work, except that
2 days ago i decided to do an apt-get update, i tell the system to rebuild
the whole locales, and after that international characters do not shown
anymore, in fact the whole variable that have an international character.

In the next example i use an international character for "my títle",
notice the "í"

Any help will be apreciated.


<?php

$src = <<<EOS
<html>
  <head>
  <title tal:content="title">my title</title>
  </head>
  <body>
    <h1 tal:content="title" >my title</h1>
  </body>
</html>
EOS;

require_once 'PHPTAL.php';
$tpl = new PHPTAL();
$tpl->setSource($src);
$tpl->title = 'this is my títle';
try {
    echo $tpl->execute();
}
catch (Exception $e){
    echo $e;
}

?>



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


_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to