From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59579 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: New feature: De-IDNA Date: Sat, 15 Jan 2005 20:55:31 +0100 Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1105819104 28790 80.91.229.6 (15 Jan 2005 19:58:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Jan 2005 19:58:24 +0000 (UTC) Original-X-From: ding-owner+M8119@lists.math.uh.edu Sat Jan 15 20:58:20 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cpu3v-0008Rx-00 for ; Sat, 15 Jan 2005 20:58:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Cpu1t-00071h-00; Sat, 15 Jan 2005 13:56:13 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Cpu1p-00071c-00 for ding@lists.math.uh.edu; Sat, 15 Jan 2005 13:56:09 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Cpu1j-0008QM-Mp for ding@lists.math.uh.edu; Sat, 15 Jan 2005 13:56:03 -0600 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cpu1a-0005d8-00 for ; Sat, 15 Jan 2005 20:55:54 +0100 Original-Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.2/8.13.2/Debian-1) with ESMTP id j0FJteZY031045 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK) for ; Sat, 15 Jan 2005 20:55:41 +0100 Original-To: ding@gnus.org OpenPGP: id=0xB565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:23:050115:ding@gnus.org::CgzkZnfs8sVmB48l:0000APiG User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) X-Virus-Scanned: ClamAV 0.80/664/Thu Jan 13 16:13:05 2005 clamav-milter version 0.80j on yxa.extundo.com X-Virus-Status: Clean Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59579 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59579 Hi. I added a new binding `W i' in summary buffers, that decode IDNA names inside articles. It works if you have GNU Libidn installed ("idn" command line tool.) Sample: xn--rksmrgs-5wao1o.xn--blbrsgrt-2zai7q I didn't really test it much, so feel free to say that it is completely broken or that it would be much better to implement it in some other way. Thanks. ** International host names (IDNA) can now be decoded inside article bodies using `W i' (`gnus-summary-idna-message'). `W i' Decode IDNA encoded domain names in the current articles. IDNA encoded domain names looks like `xn--bar'. If a string remain unencoded after running this function, it is likely an invalid IDNA string (`xn--bar' is invalid).