From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80538 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-sync.el v2 Date: Sun, 06 Nov 2011 08:13:55 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <871utlmm0c.fsf@lifelogs.com> References: <87mxcv3fu2.fsf@lifelogs.com> <87pqhicp6m.fsf@lifelogs.com> <87wrbqb4u8.fsf@lifelogs.com> <87lirw7w1d.fsf@dod.no> <8739e4q3uo.fsf@lifelogs.com> <87fwi47ryn.fsf@dod.no> <87obwsnkqv.fsf@lifelogs.com> <877h3f7gqk.fsf@dod.no> <87r51nmvr5.fsf@lifelogs.com> <87zkgb57kt.fsf@dod.no> <87mxcanbcv.fsf@lifelogs.com> <87vcqy6e59.fsf@dod.no> <87fwi2n2pt.fsf@lifelogs.com> <87mxca5uip.fsf@dod.no> <871utm5ree.fsf@dod.no> <87ty6i4c8u.fsf@dod.no> <87pqh649yk.fsf@dod.no> <877h3e5o22.fsf@topper.koldfront.dk> <87liru43q4.fsf@dod.no> Reply-To: ding@gnus.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1320585335 31294 80.91.229.12 (6 Nov 2011 13:15:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Nov 2011 13:15:35 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28821@lists.math.uh.edu Sun Nov 06 14:15:31 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RN2ZO-0006Iq-TQ for ding-account@gmane.org; Sun, 06 Nov 2011 14:15:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RN2YJ-0005Dr-Pb; Sun, 06 Nov 2011 07:14:23 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RN2YI-0005Df-5e for ding@lists.math.uh.edu; Sun, 06 Nov 2011 07:14:22 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RN2YG-0000Kw-59 for ding@lists.math.uh.edu; Sun, 06 Nov 2011 07:14:21 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RN2YD-0005yD-B6 for ding@gnus.org; Sun, 06 Nov 2011 14:14:17 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RN2YC-0005mq-Ng for ding@gnus.org; Sun, 06 Nov 2011 14:14:16 +0100 Original-Received: from c-76-28-40-19.hsd1.vt.comcast.net ([76.28.40.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Nov 2011 14:14:16 +0100 Original-Received: from tzz by c-76-28-40-19.hsd1.vt.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Nov 2011 14:14:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 32 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-76-28-40-19.hsd1.vt.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:GdkkEDCl30kUxtuzikIALhjVPc8= X-Spam-Score: -6.1 (------) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80538 Archived-At: On Sat, 05 Nov 2011 23:13:55 +0100 Steinar Bang wrote: >>>>>> asjo@koldfront.dk (Adam Sjøgren): >> Do you by any chance get something like 14 Norwegian (two-byte >> utf8-)chars in the JSON-file? SB> I have no non-ascii group names, and no non-ascii server names, so I SB> didn't think so. Haha! You do! In the JSON: "nnrss:NRK P1 \u00e2€“ ... n\u00c3\u00a5" and in the newsrc you sent me: "nnrss:NRK2 \342\200\223 ..." (I hope this is not terribly embarassing, I omitted some ASCII text from the group names to anonymize them.) Temporarily, you can set `gnus-sync-newsrc-groups' to just '("nntp") to see it work. You can add the nnrss groups harmlessly later. I thought json.el would handle this but apparently it doesn't to CouchDB's satisfaction; the JSON may indeed be valid. I will try to fix this (or someone else can do it if they feel frisky, see `json-encode-char' and `json-read-escaped-char'). SB> I find no non-ascii characters in the .newsrc.eld either (neither by the SB> regexp search, nor when running the find-first-non-ascii-char function). Sorry, no idea why that didn't work. Ted