From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Henry Lafleur" Newsgroups: gmane.emacs.bugs Subject: bug#1502: CR/LF Unicode Problem: UTF-8 file with problem Date: Sun, 7 Dec 2008 23:45:46 -0600 Message-ID: <83533120812072145u20ae0c9i51fc3fb8d0896406@mail.gmail.com> References: <83533120812072125o35ffddp9b0d8c17e29f9297@mail.gmail.com> Reply-To: Henry Lafleur , 1502@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_26542_2251513.1228715149327" X-Trace: ger.gmane.org 1228749075 16631 80.91.229.12 (8 Dec 2008 15:11:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2008 15:11:15 +0000 (UTC) To: 1502@emacsbugs.donarmstrong.com, eliz@gnu.org, jasonrumney@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 08 16:12:19 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L9hmL-00008k-VA for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Dec 2008 16:12:10 +0100 Original-Received: from localhost ([127.0.0.1]:54693 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9hlA-0005yv-P2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Dec 2008 10:10:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9Z0e-0007qg-Uk for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2008 00:50:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9Z0d-0007qO-5b for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2008 00:50:20 -0500 Original-Received: from [199.232.76.173] (port=51845 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9Z0c-0007qE-Rc for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2008 00:50:18 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41628) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L9Z0c-0005O1-3w for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2008 00:50:18 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB85oEg4001148; Sun, 7 Dec 2008 21:50:14 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mB85o2OL000459; Sun, 7 Dec 2008 21:50:02 -0800 X-Loop: don@donarmstrong.com Resent-From: "Henry Lafleur" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 08 Dec 2008 05:50:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1502 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1502-submit@emacsbugs.donarmstrong.com id=B1502.122871515232748 (code B ref 1502); Mon, 08 Dec 2008 05:50:02 +0000 Original-Received: (at 1502) by emacsbugs.donarmstrong.com; 8 Dec 2008 05:45:52 +0000 Original-Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB85jnol032741 for <1502@emacsbugs.donarmstrong.com>; Sun, 7 Dec 2008 21:45:50 -0800 Original-Received: by rv-out-0506.google.com with SMTP id k40so1001523rvb.1 for <1502@emacsbugs.donarmstrong.com>; Sun, 07 Dec 2008 21:45:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=GXznVfR/CFiI3iP9T1DXo/YSzG6b6f9EWZFX8KLKY9E=; b=cvnCFAuDnM5A3jMUsRNCd/5IwwozwezDUSwbj+cu07CkyqfMcn76MeEOZkc94YOw1R osM5qtBrWyb79U7brVmPRmzymWbfHwz5K1YgI+3Bwu+S79yt/LQJZaD6moaWuK78U3kk n4RdmDbT49HVZqKtr46rMU9LmLgkmX3S3wYTI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=KkhOK27T3qrzsqSajBex03fCb5uNm45kLu20W1yszqvhsVXXmqfQfa5p2AamLBrOXM 9dq5UgRluxGUUeXlxvd6brE7RulcnhPcALBA4wNY+oMCH/mwSSjlxEXtdqxUBpidhvjs Zd5INVt9k7Q7hpFzgH9/KEigLTVdNqG5G9j/0= Original-Received: by 10.141.29.20 with SMTP id g20mr1472707rvj.156.1228715149327; Sun, 07 Dec 2008 21:45:49 -0800 (PST) Original-Received: by 10.141.137.19 with HTTP; Sun, 7 Dec 2008 21:45:46 -0800 (PST) In-Reply-To: <83533120812072125o35ffddp9b0d8c17e29f9297@mail.gmail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 08 Dec 2008 00:50:20 -0500 X-Mailman-Approved-At: Mon, 08 Dec 2008 10:09:41 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23050 Archived-At: ------=_Part_26542_2251513.1228715149327 Content-Type: multipart/alternative; boundary="----=_Part_26543_27409717.1228715149327" ------=_Part_26543_27409717.1228715149327 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline OK, Emacs 22.1 on Linux (OpenSUSE 10.3) works just fine. The problem appears to be isloated to Windows. I'm running Windows XP service pack 2, Emacs 22.1 or 22.3 and have the problem. Thanks, Henry. On Sun, Dec 7, 2008 at 11:25 PM, Henry Lafleur wrote: > > Here's the file that is causing the problem. > > It starts with the with the 3-byte order mark and each line ends with with > CR/LF except the two lines with character codes > 128 which end only in LF. > When I open the file in Windows Emacs, each LF is preceeded by an additional > CR so the lines with CR/LF end in CR/CR/LF and lines that end in LF end in > CR/LF. > > If I start emacs with the -Q option, I get the same result. Normally I > start Emacs by running the runemacs.exe. I'm running on Windows. (I'll check > the problem on Linux once I get the file there also.) > > Thanks, > > Henry. > ------=_Part_26543_27409717.1228715149327 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline OK, Emacs 22.1 on Linux (OpenSUSE 10.3) works just fine. The problem appears to be isloated to Windows. I'm running Windows XP service pack 2, Emacs 22.1 or 22.3 and have the problem.

Thanks,

Henry.

On Sun, Dec 7, 2008 at 11:25 PM, Henry Lafleur <lafleurh@gmail.com> wrote:
 
Here's the file that is causing the problem.
 
It starts with the with the 3-byte order mark and each line ends with with CR/LF except the two lines with character codes > 128 which end only in LF. When I open the file in Windows Emacs, each LF is preceeded by an additional CR so the lines with CR/LF end in CR/CR/LF and lines that end in LF end in CR/LF.
 
If I start emacs with the -Q option, I get the same result. Normally I start Emacs by running the runemacs.exe. I'm running on Windows. (I'll check the problem on Linux once I get the file there also.)
 
Thanks,
 
Henry.

------=_Part_26543_27409717.1228715149327-- ------=_Part_26542_2251513.1228715149327 Content-Type: text/plain; name=RRTestAppend1.sql Content-Transfer-Encoding: base64 X-Attachment-Id: f_fognvune Content-Disposition: attachment; filename=RRTestAppend1.sql 77u/Q1JFQVRFIFRBQkxFIElGIE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