html - change of encoding shows Weird symbols -
the unknown symbols after writing html css appear in code how , come from
<table width="96%" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td width="39%" style="border:1px solid red"></td> <td width="60%" valign="center" style="font-size:40px; font-weight:bold; border:1px dashed black; letter-spacing:-0.5px; line-height:100%;"><h4>personal message</h4></td> </tr> </tbody>
not ask questions why use tables in html or inner styling above see if write in encoding utf-8 after switching encoding ansi characters appear in code
<table width="96%" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td width="39%" style="border:1px solid red"></td> <td width="60%" valign="center" style="font-size:40px; font-weight:bold; border:1px dashed black; letter-spacing:-0.5px; line-height:100%;">ā€‹<h4>personal message</h4>ā€‹</td> </tr> </tbody>
what know why happening , how avoid it?
ā€‹
update: - program did use? created using notepad++ encoding utf-8 , after changing ansi showed there unknown characters
i tested strings in notepad++ , seems have utf-8 space in source code. if check table here: http://utf8-chartable.de/unicode-utf8-table.pl?start=8192&number=128&utf8=string-literal
first entries spaces , notepad++ gave me chars are: ax80x8b (what matches table in link above).
probably created source-code in utf-8 text editor. open file in editor capable of converting between utf-8 ascii , save in correct format.
in case, convert in editor ascii, delete invalid chars, save making sure it's ascii , after upload server. :)
unfortunately i'm rusty in linux , don't remember editor capable of doing i'm sure there one.
Comments
Post a Comment