Home >Backend Development >PHP Tutorial >How to deal with garbled Chinese characters displayed by ICEcoder, garbled characters in icecoder_PHP tutorial
I saw icecoder on the Internet, it is a web-based editor, it is very good. The only disadvantage is that the Chinese characters in the opened file will become garbled.
After checking the source code, in lib/file-control.php, line 89 is:
echo '<script>';</span></p> <p>It turns out that htmlentities will turn Chinese characters into garbled characters and replace them with htmlspecialchars with similar functions: <br> <span>echo '</script>