title: How to convert string to UTF-8 PHP
body: <p>how to change string into UTF 8 with rules like</p>
  
  <ol>
  <li>i want Line Feed (LF) represent to be like %0A</li>
  <li>Spaces represent +</li>
  <li>CRLF (Carriage Return Line Feed) will return %0D%0A</li>
  </ol>
  
  <p>example of the string</p>
  
  <p>"
  hello my name is david
  and my friend is jessica.
  "</p>
  
  <p>and will return</p>
  
  <p>"hello+my+name+is+robot%0Aand+my+friend+is+jessica"</p>
  
  <p>hope u guys can help me</p>