Tell me, please, use the imap_createmailbox () function to create a folder with Russian letters. I found an example where it says that it is necessary to encode the Cyrillic alphabet with the function imap_utf7_encode (), but it does not help - it creates horrible hieroglyphs. I am sure that there is a simple solution.

  • When I created a folder on the server, I used iconv for the name ("UTF-8", "WINDOWS-1251", $ name); Since the server on the windows drive and the file itself uses UTF-8 encoding. - Yura Petrov
  • created a folder 쿰  쇠  - Vitaly Fesyura

0