title: How to decode a base64 string and select input charset using php?
body: <p>How to decode a base64 string and select input charset using php?</p>
  
  <p>For example it works correctly here : <a href="https://www.base64decode.org" rel="nofollow noreferrer">https://www.base64decode.org</a></p>
  
  <p>I want decode a base64 string using <strong>php</strong> and I want select <strong>Windows-1252</strong> charset.</p>
  
  <p>I use this code: </p>
  
  <pre><code>base64_decode($encode);
  </code></pre>
  
  <p>But it doesn't show Windows-1252 charset!</p>
  
  <p>Can anyone help me?</p>