From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: charles@aurox.ch (Charles A. Roelli) Newsgroups: gmane.emacs.bugs Subject: bug#31062: 26.0.91; warning on UTF-8 encoding of unibyte text Date: Thu, 05 Apr 2018 20:27:15 +0200 Message-ID: References: <83sh8a3hig.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1522952708 5065 195.159.176.226 (5 Apr 2018 18:25:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Apr 2018 18:25:08 +0000 (UTC) Cc: 31062@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 05 20:25:04 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f49ZH-00018G-HU for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Apr 2018 20:25:03 +0200 Original-Received: from localhost ([::1]:46596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f49bL-0003AH-Dz for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Apr 2018 14:27:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f49bF-00039u-IA for bug-gnu-emacs@gnu.org; Thu, 05 Apr 2018 14:27:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f49bC-0005Dm-RY for bug-gnu-emacs@gnu.org; Thu, 05 Apr 2018 14:27:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59986) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f49bC-0005Da-Nh for bug-gnu-emacs@gnu.org; Thu, 05 Apr 2018 14:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f49bC-0001C1-BM for bug-gnu-emacs@gnu.org; Thu, 05 Apr 2018 14:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: charles@aurox.ch (Charles A. Roelli) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Apr 2018 18:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31062 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31062-submit@debbugs.gnu.org id=B31062.15229527994558 (code B ref 31062); Thu, 05 Apr 2018 18:27:02 +0000 Original-Received: (at 31062) by debbugs.gnu.org; 5 Apr 2018 18:26:39 +0000 Original-Received: from localhost ([127.0.0.1]:39650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f49ao-0001BS-Vn for submit@debbugs.gnu.org; Thu, 05 Apr 2018 14:26:39 -0400 Original-Received: from sinyavsky.aurox.ch ([37.35.109.145]:41202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f49an-0001BF-Dj for 31062@debbugs.gnu.org; Thu, 05 Apr 2018 14:26:37 -0400 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 4EE46226FB for <31062@debbugs.gnu.org>; Thu, 5 Apr 2018 18:27:37 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= content-transfer-encoding:content-type:content-type:mime-version :references:subject:subject:in-reply-to:to:from:from:message-id :date:date; s=dkim; t=1522952854; x=1523816855; bh=Px95E7LQaMzH4 vs1Z45KcLpkSeygP9oAeH5jJrPh8qk=; b=JOvwsM7zhvki4rQzdS4GXHbzFQ4cX BsM7wJTI70mDrTBuqoytcdx1qLqMF0uk8fmsMmoGyaLsWMAQ/OIenXFmUHuOQItC 6pPCHNUnvzOGiF0KxeuOWyKg3BGmxX/ds3LLQf+TbuFfescOBR9f4ffaYO5u9Zmn RRgv2jzc6v0CGc= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Original-Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ZXQNjON5eWRv for <31062@debbugs.gnu.org>; Thu, 5 Apr 2018 18:27:34 +0000 (UTC) Original-Received: from gray (202.100.1.85.dynamic.wline.res.cust.swisscom.ch [85.1.100.202]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 9FADD226C2; Thu, 5 Apr 2018 18:27:34 +0000 (UTC) In-reply-to: <83sh8a3hig.fsf@gnu.org> (message from Eli Zaretskii on Wed, 04 Apr 2018 22:20:55 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144933 Archived-At: > Date: Wed, 04 Apr 2018 22:20:55 +0300 > From: Eli Zaretskii > > > There's this warning: > > > > These default coding systems were tried to encode text > > in the buffer ‘test’: > > (utf-8-unix (1 . 4194243) (2 . 4194236)) > > However, each of them encountered characters it couldn’t encode: > > utf-8-unix cannot encode these: \303 \274 > > > > Is the text "(1 . 4194243) (2 . 4194236)" useful here? > > It shows the positions and the codepoints of the offending characters, > and the coding-system that was tried. Thank you for clarifying. Could we write something like, > These default coding systems were tried to encode text in the buffer > 'test', but failed for the listed (POSITION . CODEPOINT) elements: to make that clear to the user?