bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38587: base64-decode-region breaks encoding


From: Andreas Schwab
Subject: bug#38587: base64-decode-region breaks encoding
Date: Mon, 16 Dec 2019 17:18:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

On Dez 16 2019, Juri Linkov wrote:

> Also this doesn't work on the string output:
>
>   (decode-coding-string (base64-decode-string (base64-encode-string "รค"))
>                         'utf-8)

This works as expected, as the string to be decoded is not a valid UTF-8
sequence.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]