Re: Making my Shell output UTF-8 encoded characters
On Mon, Apr 13, 2009 at 6:52 PM, mattalexx wrote: > > class CronShell extends Shell { > function daily() { > $this->out(Configure::read('App.encoding')); > $this->out('Peñasco'); > } > } Is your text file saved with the UTF-8 encoding? Is your command
Making my Shell output UTF-8 encoded characters
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 CakePH