Looking at answer PHP Strange character before £ sign?
I have tried both the
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
and
header('Content-Type: text/html;charset=utf-8');
but I stil get the Â
char in my dropdown if nothing was selected and the page loads.
Here is a snip of the code.
<div class='dropdown'>
<button class='btn btn-default dropdown-toggle col-sm-12' type='button' id='dropdownMenu1' data-toggle='dropdown' aria-haspopup='true' aria-expanded='true'>
<span data-type='help' class='dropdown_text' id=''></span>
<span class='caret'></span>
</button>
<ul class='dropdown-menu' aria-labelledby='dropdownMenu1'>
<li><a href='#' class='list-item'>Yes</a></li>
<li><a href='#' class='list-item'>No</a></li>
<li><a href='#' class='list-item'></a></li>
</ul>
</div>
Here is a list of the Computed
styles for the caret
class
border-left-color: rgba(0, 0, 0, 0);
border-left-style: solid;
border-left-width: 4px;
border-right-color:rgba(0, 0, 0, 0);
border-right-style:solid;
border-right-width:4px;
border-top-color:rgb(51, 51, 51);
border-top-style:dashed;
border-top-width: 4px;
box-sizing:border-box;
color:rgb(51, 51, 51);
cursor:pointer;
display: inline-block ;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size:14px;
font-stretch:100% ;
font-style:normal;
font-variant-caps: normal;
font-variant-east-asian: normal;
font-variant-ligatures:normal;
font-variant-numeric: normal;
font-weight:400 ;
height:4px;
letter-spacing: normal;
line-height:20px;
list-style-image: none;
list-style-position: outside;
list-style-type:none;
margin-left: 0px;
text-align:center;
text-indent:0px;
text-rendering:auto;
text-shadow:none ;
text-size-adjust:100%;
text-transform: none;
user-select:none ;
vertical-align:middle;
white-space: nowrap;
width:8px;
word-spacing: 0px;
writing-mode:horizontal-tb ;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);