GNU bug report logs - #38587
base64-decode-region breaks encoding

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Fri, 13 Dec 2019 00:04:01 UTC

Severity: normal

Tags: wontfix

Fixed in version 27.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: larsi <at> gnus.org, 38587 <at> debbugs.gnu.org
Subject: bug#38587: base64-decode-region breaks encoding
Date: Mon, 16 Dec 2019 05:28:55 +0200
> From: Juri Linkov <juri <at> linkov.net>
> Cc: larsi <at> gnus.org,  38587 <at> debbugs.gnu.org
> Date: Mon, 16 Dec 2019 00:41:48 +0200
> 
> >> But when it's know that the source string was in UTF-8,
> >> shouldn't it be reversible?  What is needed for that?
> >
> > The source string is not in UTF-8, it is in internal Emacs
> > representation of strings.
> 
> Is internal Emacs representation compatible with UTF-8?

It is (currently).  But it isn't UTF-8, strictly speaking.  In
particular, raw bytes are represented there by 2-byte sequences that
aren't valid UTF-8.




This bug report was last modified 5 years and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.