Phalcon has encountered another pitfall. Phalcon's escape functions will escape Chinese characters. for example, I want to escape the jsscript in the string and use escape_js to escape js, however, it also escapes all Chinese characters. how can this problem be solved? Now I can only write this very low: st... Phalcon has encountered a pitfall,
Phalcon's escape series functions will escape Chinese characters. for example, if I want to escape the js script in the string and use escape_js, I did escape js, however, it also escapes all Chinese characters. how can this problem be solved?
I can only write this at low:
Str_replace ("script", "SQL injection, please contact the administrator", $ content );
Reply content:
Phalcon has encountered another pitfall,
Phalcon's escape series functions will escape Chinese characters. for example, if I want to escape the js script in the string and use escape_js, I did escape js, however, it also escapes all Chinese characters. how can this problem be solved?
I can only write this at low:
Str_replace ("script", "SQL injection, please contact the administrator", $ content );
No, you have actually solved the problem.