title: Why does PHP's urlencode use different URL encoding?
body: <p>The URL encoding of η is <code>%CE%B7</code>. But in PHP I get some strange symbols when I write <code>echo urldecode("%ce%b7");</code></p>
  
  <p>Instead, if I write <code>echo urlencode("η");</code> then I get <code>%26%23951%3B</code>. Why can't I use <code>%CE%B7</code>?</p>
  
  <p><strong>Solution</strong></p>
  
  <p>The Problem is that we use typo3. It some how does not use unicode for internal processing. As soon as we set <code>$TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8';</code> in typo3 the output of <code>echo urldecode("%ce%b7");</code> was correct.</p>
  
  <p>For why <code>echo urlencode("η");</code> gives me <code>%26%23951%3B</code> see the answers of Joni. </p>