Does the PHP document have different storage encodings that affect the browser?
This section of code index.php
PHP Code
<meta http-equiv= "Content-type" content= "text/html;charset=gb2312" >
Edit the default storage encoding in Notepad is ANSI with computer access to normal
However, the use of mobile phone access to Chinese characters garbled English normal
Later, the saving code was changed to UTF-8 mobile phone and computer will be able to access the normal
The phone is Sony Ericsson W995 's own browser Safar or something.
Is there a function that turns the character into a UTF-8 and then outputs it?
------Solution--------------------
Consistent encoding of file encoding and output this is the principle.
Conversion functions
Iconv (' GBK ', ' UTF-8 ', ' Chinese ');
------Solution--------------------
Have an impact. File encoding is the encoding format of some constants within a file
------Solution--------------------
Explore
So how do you convert a batch of files from ANSI to UTF-8?
------Solution--------------------
Explore
So how do you convert a batch of files from ANSI to UTF-8?