title: How do i encode all chars in a string
body: <p>How do i encode all chars in a string.</p>
  
  <p>Example :
  A = %32 // Or something like that <br>
  B = %33</p>
  
  <p>I want to do this without hardcoding every char. And i also want to be able to decode it again.
  Is there a php function for this?</p>
  
  <p>Thanks.</p>