all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Петров Андрей" <an.petrov@pay-lab.ru>
Cc: luangruo@yahoo.com, 55727@debbugs.gnu.org
Subject: bug#55727: 29.0.50; Incorrect zero symbol transcoding between applications
Date: Mon, 30 May 2022 21:09:49 +0300	[thread overview]
Message-ID: <835ylmki36.fsf@gnu.org> (raw)
In-Reply-To: <ccc25c60093d4f45976f21e3892dd99b@pay-lab.ru> (message from Петров Андрей on Mon, 30 May 2022 16:23:46 +0000)

> From: Петров Андрей <an.petrov@pay-lab.ru>
> CC: "luangruo@yahoo.com" <luangruo@yahoo.com>, "55727-done@debbugs.gnu.org"
> 	<55727-done@debbugs.gnu.org>
> Date: Mon, 30 May 2022 16:23:46 +0000
> 
> Hi, Eli!
> 
> Looks like I have to use hex, base64 or other ASCII encodings.
> It seems that I will use something like this:
> 
> (defun my-escape-char (c)
>   (insert (if (< c ?\s) (format "\\%03o" c) c)))
> 
> (print "000\000000" 'my-escape-char)

Emacs has base64-encode-region and base64-decode-region, so you could
use that instead.





  reply	other threads:[~2022-05-30 18:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-30 13:08 bug#55727: 29.0.50; Incorrect zero symbol transcoding between applications Петров Андрей
2022-05-30 13:42 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-30 14:27   ` Петров Андрей
2022-05-30 15:42     ` Eli Zaretskii
2022-05-30 16:23       ` Петров Андрей
2022-05-30 18:09         ` Eli Zaretskii [this message]
2022-05-31  0:16     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-30 14:06 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=835ylmki36.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=55727@debbugs.gnu.org \
    --cc=an.petrov@pay-lab.ru \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.