title: How to convert variable (text/string) to utf8mb4 in php
body: <p>Hi I'm looking for a encode function for utf8mb4,</p>
  
  <pre><code>$var = = "نور";
  
  echo utf8mb4_encode($string);
  
  output = Ù†ÙˆØ± // its $var output in UTFMB4
  </code></pre>
  
  <p>The output should be "Ù†ÙˆØ±" this, its a conversion of $var in utfmb4</p>