Hi, You guys do a great job. Thanks for all the hard work. I was blaming the .NET framework on this, but it appears to be an issue with Emacs. When I load a Unicode file (UTF-8) where some lines in CR/LF and some lines end in LF, in hexl-mode the CR/LF EOL's appear as CR/CR/LF and the LF EOL's appear as CR/LF. See this thread for more information: http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/8ef5b69d-1 35d-4584-ae1a-1caeb4afc846/#page:1 If I save the file in hexl mode, it will save it with the extra CRs, thus modifying the file more than anticipated. Thanks, Henry Lafleur | ,__o Project Lead | _-\_<, Canrig Enterprise Solutions | (*)/'(*) a division of Canrig Drilling Technology Ltd. Fax: 281-774-5640 Support: 1-866-433-4345 mailto:Henry.Lafleur@canrig.com http://www.mywells.com/ In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Hexl Minor modes in effect: ruler-mode: t hl-line-mode: t encoded-kbd-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: identity Recent input: S e e SPC t h i s SPC t h r e a d SPC f o r SPC m o r e SPC i n f o r m a t i o n : SPC C-v M-v C-y Y o u SPC g u y s SPC d o SPC a SPC g r e a t SPC j o b SPC w M-x h e x l - m o d Recent messages: Loading emacsbug...done Loading help-mode...done Auto-saving...done Mark set Auto-saving...done Loading sql... Loading easymenu...done Loading sql...done Loading hexl...done Loading mule-util...done ----------------------------------------- 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.