[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fixing Gnus, and string encoding question
From: |
Noam Postavsky |
Subject: |
Re: Fixing Gnus, and string encoding question |
Date: |
Fri, 5 Apr 2019 21:40:29 -0400 |
On Fri, 5 Apr 2019 at 16:50, Eric Abrahamsen <address@hidden> wrote:
> Katsumi Yamaoka's example is the group whose decoded name is "nnml:テス
> ト". This is written to .newsrc.eld as the string:
>
> "nnml:\343\203\206\343\202\271\343\203\210"
> nnml:\343\203\206\343\202\271\343\203\210
> "nnml:ã\203\206ã\202¹ã\203\210"
> I don't know how to turn either of these strings into the other --
> either direction would work, but I don't know how.
Are you maybe looking for decode-coding-string?
(decode-coding-string
"nnml:\343\203\206\343\202\271\343\203\210" 'utf-8) ;=> "nnml:テスト"
(decode-coding-string
(symbol-name (read "nnml:\343\203\206\343\202\271\343\203\210"))
'utf-8) ;=> "nnml:テスト"
- Fixing Gnus, and string encoding question, Eric Abrahamsen, 2019/04/05
- Re: Fixing Gnus, and string encoding question,
Noam Postavsky <=
- Re: Fixing Gnus, and string encoding question, Eric Abrahamsen, 2019/04/05
- Re: Fixing Gnus, and string encoding question, Noam Postavsky, 2019/04/05
- Re: Fixing Gnus, and string encoding question, Eric Abrahamsen, 2019/04/06
- Re: Fixing Gnus, and string encoding question, Eric Abrahamsen, 2019/04/07
- Re: Fixing Gnus, and string encoding question, Andreas Schwab, 2019/04/07
- Re: Fixing Gnus, and string encoding question, Eric Abrahamsen, 2019/04/07
- Re: Fixing Gnus, and string encoding question, Noam Postavsky, 2019/04/07
- Re: Fixing Gnus, and string encoding question, Andreas Schwab, 2019/04/07
- Re: Fixing Gnus, and string encoding question, Andreas Schwab, 2019/04/07
- Re: Fixing Gnus, and string encoding question, Eli Zaretskii, 2019/04/06