Home > Backend Development > PHP Tutorial > How to deal with garbled Chinese characters displayed by ICEcoder, garbled characters in icecoder_PHP tutorial

How to deal with garbled Chinese characters displayed by ICEcoder, garbled characters in icecoder_PHP tutorial

WBOY
Release: 2016-07-13 09:46:13
Original
1151 people have browsed it

ICEcoder displays garbled Chinese characters, icecoder garbled characters

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>

Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template