|
From: | Juri Linkov |
Subject: | bug#38587: base64-decode-region breaks encoding |
Date: | Wed, 18 Dec 2019 01:10:06 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
tags 38587 wontfix close 38587 27.0.50 quit > decode-coding-region should be what you want. It decodes raw bytes > (a.k.a. "eight-bit charset") into characters. Thanks, I'm using this advice. (advice-add 'base64-decode-region :after (lambda (beg end &optional _base64url) (decode-coding-region beg end buffer-file-coding-system)) '((name . base64-decode-region-with-buffer-coding))) So I'm closing this. Not sure what could be added to documentation.
[Prev in Thread] | Current Thread | [Next in Thread] |