unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1502: Acknowledgement (CR/LF Unicode Problem)
@ 2008-12-07  0:46 Lafleur, Henry
  0 siblings, 0 replies; 5+ messages in thread
From: Lafleur, Henry @ 2008-12-07  0:46 UTC (permalink / raw)
  To: monnier; +Cc: 1502, bug-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 2061 bytes --]

Yes,

I did it on purpose. We're in a mixed Windows/Linux environment and some users paste Linux-created files ending in LF only into a Windows app which writes a header & footer ending in CR/LF. When a file is mixed, Emacs is adding an additional CR in front of each of the LF characters, but only for a UTF-8 file with character codes>127. Thus, the file has lines ending with CRCRLF and CRLF.

Thanks,

Henry Lafleur

----- Original Message -----
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lafleur, Henry
Cc: 1502@emacsbugs.donarmstrong.com <1502@emacsbugs.donarmstrong.com>; Eli Zaretskii <eliz@gnu.org>; bug-gnu-emacs@gnu.org <bug-gnu-emacs@gnu.org>
Sent: Sat Dec 06 16:47:38 2008
Subject: Re: bug#1502: Acknowledgement (CR/LF Unicode Problem)

> I'll be back in my office on Monday. I may be able to get the file before then, but probably not. I e-mailed it to myself at home, but my company blocks .SQL files.


I don't know if it's related, but all your messages have spurious extra
^M at the end of each line.  Do you happen to know where that's coming from?


        Stefan



-----------------------------------------
CANRIG EMAIL NOTICE - This transmission may be strictly
confidential. If you are not the intended recipient of this
message, you may not disclose, print, copy, or disseminate this
information. If you have received this in error, please reply and
notify the sender (only) and delete the message. Unauthorized
interception of this e-mail is a violation of federal criminal law.
This communication does not reflect an intention by the sender or
the sender's principal to conduct a transaction or make any
agreement by electronic means. Nothing contained in this message or
in any attachment shall satisfy the requirements for a writing, and
nothing contained herein shall constitute a contract or electronic
signature under the Electronic Signatures in Global and National
Commerce Act, any version of the Uniform Electronic Transactions
Act, or any other statute governing electronic transactions.

[-- Attachment #2: Type: text/html, Size: 2649 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-07  0:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <handler.1502.B.12285164648150.ack@emacsbugs.donarmstrong.com>
2008-12-05 23:02 ` bug#1502: Acknowledgement (CR/LF Unicode Problem) Lafleur, Henry
2008-12-06  8:04   ` Eli Zaretskii
2008-12-06 17:06     ` Lafleur, Henry
2008-12-06 22:47       ` Stefan Monnier
2008-12-07  0:46 Lafleur, Henry

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).