title: PHP, IMAP and Outlook 2010 - folder names encoding is different?
body: <p>Im developing e-mail client in php (with symfony2) and i have problem with folders with non-ascii characters in name. </p>
  
  <p>Folder created in php app is visible in same app correctly. Same in Outlook, created in outlook looks good in outlook. In other cases not. Folder created in outlook is not displayed correctly in php and vice-versa. </p>
  
  <p>Im using utf-7 to encode folder names in php. Which encoding uses Outlook? </p>
  
  <p>Example: Folder named "Wysłąne" (misspelled polish word meaning "sent"), first one is encoded in utf7 by php, and second created in Outlook:</p>
  
  <p>PHP:</p>
  
  <pre><code>Wys&amp;xYLEhQ-ne
  </code></pre>
  
  <p>Outlook:</p>
  
  <pre><code>Wys&amp;AUIBBQ-ne
  </code></pre>
  
  <p>Why it differs? How to make it in  same  encoding?</p>