Tag::displayTo('name','你好'); output below: 西安立免网 This is not the result i wanted.
Data is automatically escaped preventing XSS attacks, if you want to disable it is up to you
Phalcon\Tag::setAutoescape(false);
thanks
I ran into this issue today. I'm using UTF-8 strings and it doesn't do a good job with non-ascii characters. I had to turn off auto escape. Which function is being used for escaping? Characters like á à é ó ú all become �. Why is that?