> Hallo, tövis, > > Du (daily.tovis) meintest am 20.03.08: > >> I have defined folder, with name "üzenetek" on hungarian language, >> using courier's maildairmake. It's came up ??zenetek. I have create >> another folder called "füzet", and in my home maildir I have found >> "f&APw-zet". squirrelmail-configuration is hu_HU and utf-8. >> All is it reside on a Deabian Etch (default locale hu_HU utf-8), >> Apache2, PHP5, squirrelmail 1.4.9a and >> watched using firefox on a windoz box. >> What is wrong? > > Try the following script "utf7-imap.php", I have got it in this > mailinglist (who was the author?): > > <?php > header('Content-Type: text/html; charset=utf-8'); > ?> > <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4.01 Transitional//EN"> > <html><head> > <title>String to UTF7-IMAP</title> > </head> > <body> > <?php > echo "<p>"; > if (isset($_POST['folder_name'])) { > echo "UTF7-IMAP folder name is <br>\n "; > echo htmlspecialchars(mb_convert_encoding($_POST['folder_name'], > "UTF7-IMAP", "UTF8")); > echo "</p>\n<hr>\n"; > } > ?> > <p> > <form action="utf7-imap.php" method="POST"> > <b>String:</b> <input type="text" name="folder_name" value=""><br> > <input type="submit" value="convert"> > <input type="reset" value="reset"> > </form> > </p> > <body> > <html> > > ----------------------------------------------------------- > > As you can see there are differences between utf8 and utf7 and utf7- > imap. "squirrelmail" needs folder names in utf7-imap. > > Viele Gruesse! > Helmut > Thanks a lot Helmut! :) One little problem, I'm not so much familiar with PHP, where I've should put this peace of code? tövis > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ----- > squirrelmail-users mailing list > Posting guidelines: http://squirrelmail.org/postingguidelines > List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx > List archives: http://news.gmane.org/gmane.mail.squirrelmail.user > List info (subscribe/unsubscribe/change options): > https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users