From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Working with 16 bit ascii text files? Date: Sat, 01 Apr 2006 07:50:32 +0200 Message-ID: <442E14A8.3030305@student.lu.se> References: <8E7C0818B6112F499644ED2A8EC262B09EF0CF@phononexchange.phonon.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1143870659 1040 80.91.229.2 (1 Apr 2006 05:50:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Apr 2006 05:50:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 01 07:50:57 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FPZ0e-0004R7-2W for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Apr 2006 07:50:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPZ0d-0007qF-9K for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Apr 2006 00:50:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FPZ0Q-0007p7-IA for help-gnu-emacs@gnu.org; Sat, 01 Apr 2006 00:50:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FPZ0O-0007mq-RF for help-gnu-emacs@gnu.org; Sat, 01 Apr 2006 00:50:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPZ0O-0007mh-MF for help-gnu-emacs@gnu.org; Sat, 01 Apr 2006 00:50:36 -0500 Original-Received: from [81.228.8.164] (helo=pne-smtpout2-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FPZ2w-0007er-Kg for help-gnu-emacs@gnu.org; Sat, 01 Apr 2006 00:53:14 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn2.hy.skanova.net (7.2.070) id 4405C1220077C9EB; Sat, 1 Apr 2006 07:50:34 +0200 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: Raymond Zeitler , "help-gnu-emacs@gnu.org" In-Reply-To: <8E7C0818B6112F499644ED2A8EC262B09EF0CF@phononexchange.phonon.com> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34116 Archived-At: Thanks for reporting! Raymond Zeitler wrote: > I used the version dated 2006-03-21*. It handled the file nicely. > I plan to upgrade when I figure out why my .emacs file crashes. > > *GNU Emacs 22.0.50.1 (i386-mingw-nt5.0.2195) of 2006-03-21 on YAMALOK > > -----Original Message----- > From: Lennart Borgman [mailto:lennart.borgman.073@student.lu.se] > Sent: Friday, March 31, 2006 3:37 PM > To: Raymond Zeitler > Cc: help-emacs-windows@gnu.org > Subject: Re: [h-e-w] Working with 16 bit ascii text files? > > Raymond Zeitler wrote: > >> I'm using GNU Emacs 21.3.1 (i386-mingw-nt5.0.2195) of 2004-03-10 on >> NYAUMO on Windows 2000 SP4. I have trouble editing certain files that >> seem to contain 16 bit characters. The string "string" shows up like >> this: "^@s^@t^@r^@i^@n^@g". The ^@ is the null character. Also, line >> endings have ^M^@. >> >> You can generate a file like this by saving a System Summary as a text >> file in Computer Management. >> >> Emacs interprets these files as Unix. What I end up doing is invoking >> query-replace on the file to replace the ^@ and the ^M with nothing. >> >> But aren't these files using some sort of 16 bit character set? >> Shouldn't Emacs handle this better? I've never been able to find an >> appropriate character set for C-x f. For example, manually >> choosing any of the mule-utf-16 sets changes nothing. >> >> TIA for any help you can provide. >> >> > You may want to try the next generation not yet released version of > Emacs to see if things works better there. It is actually very stable. > For binaries look here: > > http://www.emacswiki.org/cgi-bin/wiki/CategoryWThirtyTwo > > If you do this please report back here how it works! >