From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Probelm with paste text from web pages Date: Fri, 14 Sep 2012 12:04:35 +0300 Message-ID: <83har1ug9o.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1347613488 27702 80.91.229.3 (14 Sep 2012 09:04:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2012 09:04:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 14 11:04:52 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TCRpU-0004J9-1E for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 11:04:52 +0200 Original-Received: from localhost ([::1]:54659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCRpN-00050d-3R for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 05:04:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCRpA-0004zq-I8 for help-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:04:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCRp0-0006Sv-JD for help-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:04:31 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:60278) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCRp0-0006Sj-Bk for help-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:04:22 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MAC00500117P100@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Fri, 14 Sep 2012 12:04:20 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MAC0056O178NR30@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Fri, 14 Sep 2012 12:04:20 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86758 Archived-At: > Date: Fri, 14 Sep 2012 01:05:41 -0700 (PDT) > From: twiki > Injection-Date: Fri, 14 Sep 2012 08:05:41 +0000 > > When i paste text from Opera/Firefox in a buffer > and i want to save this buffer... > i have always to solve this question: > > [...] > These default coding systems were tried to encode text > in the buffer `test.txt': > (iso-latin-1-dos (72 . 8592) (143 . 8217) (222 . 8217) (251 . 8217) > (318 . 8217) (355 . 8217) (458 . 8217) (685 . 8217) (755 . 8217) > (960 . 8217) (1021 . 8230)) > However, each of them encountered characters it couldn't encode: > iso-latin-1-dos cannot encode these: ... > [...] > > How to paste text with apostrophes, accents, etc. for > to save in iso-latin1-dos? You can't, not without changing those characters to their equivalents, and deleting those that don't have equivalents. These characters simply don't exist in the Latin-1 character set. Why do you want to save them in iso-latin1-dos? What's wrong with utf-8-dos?