From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14198 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.user Subject: Re: nnimap: support for non-ASCII folder names (incomplete patch & request for help) Date: Sun, 05 Dec 2010 16:20:00 +0100 Organization: Programmerer Ingebrigtsen Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291957086 13327 80.91.229.12 (10 Dec 2010 04:58:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 04:58:06 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Dec 10 05:58:01 2010 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQv3Q-0006rB-Gp for gegu-info-gnus-english@m.gmane.org; Fri, 10 Dec 2010 05:58:00 +0100 Original-Received: from localhost ([127.0.0.1]:51463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQv3P-000403-Lx for gegu-info-gnus-english@m.gmane.org; Thu, 09 Dec 2010 23:57:59 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-2.dfn.de!news.dfn.de!news.uni-stuttgart.de!news.belwue.de!news.n-ix.net!news.erfurt.thur.de!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 21 Original-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Original-X-Trace: quimby.gnus.org 1291562400 1598 84.215.34.171 (5 Dec 2010 15:20:00 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sun, 5 Dec 2010 15:20:00 +0000 (UTC) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEVTATBRAC3KssFsHU2e a4vm3eX3+PVQACsRJOMEAAACTklEQVQ4jU2STW/jIBCGx8VSrrW2Uq4VxntmA6tcLSB7XlHjH1Ct OTtKJf7+voPdJCNFwfPMO8wHRLuJ4K0OpHGy0g8TyWojkTWBAglq3obU/54oVEOgab3otSDq3gYF xWElYQwAtUb0I4ANweyphjQBGGrDaBlIf5nIVBNbAVZbereXqIZIiq8Y5rGSVjsRpAreRU4155zf K7AUhDUoF6DYn/Dnv1suGg2JVuoLFLnav71PTcYpXQDmDSx0H4H/mp5AHh/EVMXuzx/0MPMMPvXd /yr0E8i9uQOyz+Az7P7mWKh9ArnfwbGUlU5PII13cEWrd/8yebNnKgX/7Kq9pJQXrqyBf9UVxArm tF1zgOK1YbCEOScI5rwoRNozHUrX0LwoMaS0pIVBkDJFqTQC5qjJyZQ2hRv4JKXylJDX8Cf2tUSO wK8C7O7EYZHBwOGyKmYoXNpSZY7neyQe2jztQFYQlRHWVfCxp5LY/ZKi10WE4AH6jixn9hVIfyhX G8yB0thRO0TpDYOIh1Ag8QwO2DJi9B/cIT2Pygb/iyJU6ASDvcwp9vpYAS7He98fB4ahqr84DIX6 9cgPHaUNUhlOVNYKRgyZTipgSl5Xf3GOOz8zeOHmstIdZ7qpOhKcOnrZZjedWXDzmMkGmpd5iQ6L GFkhjIzfoJ0zJh59s4EhbeDa/ZBpClwUA/0Azc1hJNZv1ZbyUIgTgKHdfwflelLwh+2DGxliv51b xPASdnD6BiuHB6ewi2pfd4VDrwbb2RUrxkNlxad1A3d73sENDf4H/BcMq7fuvd4AAAAASUVORK5C YII= Mail-Copies-To: never X-Now-Playing: The Smiths's _The Smiths_ User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:PGjpHMZP39VcbRwcWOtoRFyfwZo= Original-Xref: usenet.stanford.edu gnu.emacs.gnus:85022 X-Mailman-Approved-At: Thu, 09 Dec 2010 20:28:08 -0500 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:14198 Archived-At: Orivej Desh writes: > I've found them not supported (they just didn't appear in *Gnus > Browse Server*) so I made a copy of nnimap.el and discovered that though > some support for UTF-7 was in place, it was not working as expected > (particularly, double-encoded UTF-7 strings happened). Investigating > which `utf7-encode' or `utf7-decode' were missing and which superfluous > went difficult, so I made a redesing: everything in nnimap deals with > multibyte, except for two functions most close to the IMAP stream. You moved the utf7-encode down into -send-command, but that doesn't work. There are bits of the protocol that can't be utf7-encoded, so you really have to encode only the group names, and leave everything else alone. Non-ASCII IMAP mailbox names work for me, I think, so what is the actual problem you're seeing? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen