From: npostavs@users.sourceforge.net
To: Eli Zaretskii <eliz@gnu.org>
Cc: 25288@debbugs.gnu.org, fvamail@gmail.com
Subject: bug#25288: 25.1; term, ansi-term, broken output of utf8 text
Date: Tue, 03 Jan 2017 09:05:57 -0500 [thread overview]
Message-ID: <87ful05jcq.fsf@users.sourceforge.net> (raw)
In-Reply-To: <834m1mvhx8.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 29 Dec 2016 18:06:27 +0200")
tags 25288 fixed
close 25288 26.1
quit
Eli Zaretskii <eliz@gnu.org> writes:
>> From: npostavs@users.sourceforge.net
>> Cc: 25288@debbugs.gnu.org, fvamail@gmail.com
>> Date: Wed, 28 Dec 2016 21:37:19 -0500
>>
>> > If you know the encoding of the byte stream (and term.el must, since
>> > it evidently decodes it later on), then you could probably use
>> > char-charset, after decoding: if you get 'eight-bit, then you've got
>> > incomplete byte sequence. But I didn't try that.
>>
>> That should work at least for encodings like utf-8 for which undecoded
>> bytes are not ascii. I guess parsing of escape codes would only work on
>> such encodings anyway, so it should be fine. Patch attached.
>
> LGTM, thanks.
Pushed as 134e86b360ca.
prev parent reply other threads:[~2017-01-03 14:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-28 10:41 bug#25288: 25.1; term, ansi-term, broken output of utf8 text Vjacheslav
2016-12-28 19:10 ` npostavs
2016-12-28 19:31 ` Eli Zaretskii
2016-12-29 2:37 ` npostavs
2016-12-29 16:06 ` Eli Zaretskii
2017-01-03 14:05 ` npostavs [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ful05jcq.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=25288@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=fvamail@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).