[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Decode the octets with hexadecimal values.
From: |
Eli Zaretskii |
Subject: |
Re: Decode the octets with hexadecimal values. |
Date: |
Sat, 20 May 2023 12:44:09 +0300 |
> From: Hongyi Zhao <hongyi.zhao@gmail.com>
> Date: Sat, 20 May 2023 16:51:19 +0800
> Cc: help-gnu-emacs@gnu.org
>
> On Sat, May 20, 2023 at 4:18 PM Eli Zaretskii <eliz@gnu.org> wrote:
> >
> > > From: Hongyi Zhao <hongyi.zhao@gmail.com>
> > > Date: Sat, 20 May 2023 15:37:42 +0800
> > > Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
> > >
> > > But Emacs is also extremely powerful, I expect someone here can give
> > > an Emacs-based solution.
> >
> > We have quoted-printable-decode-region.
>
> But the result will be the one shown in the attached screenshot.
By default, the result is a unibyte string, you need to decode it to
get readable text:
(quoted-printable-decode-region FROM TO 'utf-8)
(Do you read the doc strings of the functions before you use them? If
not, you should: that's what they are there for.)
- Decode the octets with hexadecimal values., Hongyi Zhao, 2023/05/20
- Re: Decode the octets with hexadecimal values., Platon Pronko, 2023/05/20
- Re: Decode the octets with hexadecimal values., Hongyi Zhao, 2023/05/20
- Re: Decode the octets with hexadecimal values., Eli Zaretskii, 2023/05/20
- Re: Decode the octets with hexadecimal values., Hongyi Zhao, 2023/05/20
- Re: Decode the octets with hexadecimal values.,
Eli Zaretskii <=
- Re: Decode the octets with hexadecimal values., Hongyi Zhao, 2023/05/20
- Re: Decode the octets with hexadecimal values., Hongyi Zhao, 2023/05/20
- Re: Decode the octets with hexadecimal values., Eli Zaretskii, 2023/05/20
- Re: Decode the octets with hexadecimal values., Hongyi Zhao, 2023/05/20