google chrome - Why strange characters appear on the website but not on html editor? -


i copy pasted following html code textbook text editor (sublime). opened html page in google chrome shown in image below.

<!doctype html> <html> <head>     <title></title> </head> <body>     <form action="processorder.php" method="post"><table border="0">             <tr bgcolor="#cccccc">               <td width="150">item</td>               <td width="15">quantity</td>             </tr>             <tr>               <td>tires</td>               <td align="center"><input type="text" name="tireqty" size="3"                  maxlength="3" /></td>             </tr>             <tr>               <td>oil</td>               <td align="center"><input type="text" name="oilqty" size="3"                  maxlength="3" /></td>             </tr>              <tr>               <td>spark plugs</td>               <td align="center"><input type="text" name="sparkqty" size="3"                  maxlength="3" /></td>             </tr>             <tr>               <td colspan="2" align="center"><input type="submit" value="submit order" /></td>             </tr>         </table>     </form> </body> </html> 

the "Â" a-circumflex characters @ top of page not supposed there. why google chrome displays them, not text editor?

enter image description here

solved: strange characters appear because part of html document. not being displayed because text editor using utf-8 encoding.

the character "Â" called a-circumflex , displayed empty space " " when using utf-8 encoding, default encoding of sublime text 3.


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -