From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Is there a way to "asciify" a string? Date: Mon, 28 May 2018 22:30:38 +0700 Message-ID: References: <87zi0llisj.fsf@mbork.pl> <20180527073645.GB17354@tuxteam.de> <87y3g5l1h0.fsf@mbork.pl> <87r2lwkrbe.fsf@mbork.pl> <20180528103906.GB18767@tuxteam.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1527521355 16163 195.159.176.226 (28 May 2018 15:29:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 28 May 2018 15:29:15 +0000 (UTC) Cc: help-gnu-emacs To: tomas@tuxteam.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 28 17:29:11 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNK59-000464-3S for geh-help-gnu-emacs@m.gmane.org; Mon, 28 May 2018 17:29:11 +0200 Original-Received: from localhost ([::1]:56793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNK7E-0006NZ-7q for geh-help-gnu-emacs@m.gmane.org; Mon, 28 May 2018 11:31:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNK6o-0006NS-Ga for help-gnu-emacs@gnu.org; Mon, 28 May 2018 11:30:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNK6n-0000s3-Id for help-gnu-emacs@gnu.org; Mon, 28 May 2018 11:30:54 -0400 Original-Received: from mail-io0-x229.google.com ([2607:f8b0:4001:c06::229]:34103) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNK6n-0000rg-E1 for help-gnu-emacs@gnu.org; Mon, 28 May 2018 11:30:53 -0400 Original-Received: by mail-io0-x229.google.com with SMTP id e15-v6so6043134iog.1 for ; Mon, 28 May 2018 08:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=jpqFLQ+SZfiGxzmCwgPxP9Be/BYtblEyJKgyYWAHDL4=; b=aoNvOiTTadoMgeUl5oEzMihoE4W0VIeHmStHfo/TIEaA7Bf+5VqAIQi2NSFA1V8X7Y abcE8/YCG21iMrjBZQgvqPhnASWMgKUcvDV/vIk4VYYZ/w83r5Ps7Gk3CFXMelaDXs8m lVA+zJhTEIRZoxrVH5WebdGy9swvXjnEg5hGzTbn10RUoQlX0m8xhSZJuvjXG51zPf26 Gyf+opXkhN2u9puPZiZOhFe25GpB4MH8yZJGepXgqgMJsqr65Zf+xCJLC9F987bICnP6 SVYjRBSqgfEx1e9OF0lDj1Ufwkko2GFEOi0DoG/tG/vBJBwlNDz8G3TlfRPDbpDZszk1 Besw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=jpqFLQ+SZfiGxzmCwgPxP9Be/BYtblEyJKgyYWAHDL4=; b=LvsmnQPrvXVsi56HxrbBXHLFD+nIz19rUdLibiNG/shoS1Do4NsDPjDQ7AkwBkHDct 6X6UDvGYEw6vgD1VIFheaVNZRCW5d3SMxbh+xOUqWoCoiKR52mLNisro4oTEiHSHZGDv 6P6ZrcdxpYGt/J+Qu7HQzNlOUD9DfaauKJajmwM9ynsfKttdnqv3+cTqtTefafa4nlTT lg/P1B9bUAoS51MUyh9fJ1RPmkdvdFDP1M0A5Fi/Zg2CQvyvU7GLPe4IvtpzIdkPdxRe 6X6RLYiE7jGcVn9vskRURk0U1CepmJeYnVY8SA9YImzoGpSU0RYCuDznz56kDnSWGu3o tLyA== X-Gm-Message-State: ALKqPwc9T9blSoEmhV3Hn6xBDkDa94o2u5obILRoDZxRcuFrYrMSPBka GhXUP3yxQ/aAS+Mr14iNa4nbW+IhXIcTlO7FqwqECA== X-Google-Smtp-Source: ADUXVKL0BAMNh5LbG5/pCtLGhY1KLY/2ApFOyis0qLWaZVIXXSlBc2CmO2OvabUmKp/XXN3ParEZQBHhaQr9jm2V/J4= X-Received: by 2002:a6b:30cd:: with SMTP id w196-v6mr10861280iow.183.1527521452478; Mon, 28 May 2018 08:30:52 -0700 (PDT) In-Reply-To: <20180528103906.GB18767@tuxteam.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::229 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116882 Archived-At: On Mon, May 28, 2018 at 5:39 PM wrote: > One often-used method is to just URL-encode [1] the thing. On the plus > side, it's always ASCII and you have a "lossless" mapping back and forth, > on the down side you lose lexicographic order and (some) readability > (although we trained rats have already learnt to cope with %3D and %2F) %3D =E2=80=98=3D=E2=80=99 and %2F =E2=80=98/=E2=80=99 are Trained Rat Level= 1 material. Under your suggestion, my name is %D0%AE%D1%80%D0%B8%D0%B9+%D0%A5%D0%B0%D0%BD and it takes a certain effort to decode that in my head. I seriously doubt Tak Kunihiro=E2=80=99s urlencoded name could be read at all without decoding. (On the other hand, I regularly get offended at banks trying to automatically transliterate my name when issuing a card for me.)