I am trying to output Spanish characters (in this example, "ñ"):

[CODE]
class CronShell extends Shell {
        function daily() {
                $this->out(Configure::read('App.encoding'));
                $this->out('Peñasco');
        }
}
[/CODE]

This is what I get:

[CODE]
Welcome to CakePHP v1.2.2.8120 Console
---------------------------------------------------------------
App : app
Path: /home/matt/www/ecirclerealty.mattserver.com/app
---------------------------------------------------------------
UTF-8
Peñasco
[/CODE]

Obviously, this is what I want to get:

[CODE]
Welcome to CakePHP v1.2.2.8120 Console
---------------------------------------------------------------
App : app
Path: /home/matt/www/ecirclerealty.mattserver.com/app
---------------------------------------------------------------
UTF-8
Peñasco
[/CODE]

What am I doing wrong here?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to