From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "David Ellis" Newsgroups: gmane.emacs.help Subject: unicode files created with windows notepad Date: Tue, 1 Feb 2005 13:45:50 -0600 Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1107287236 3384 80.91.229.2 (1 Feb 2005 19:47:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2005 19:47:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 01 20:47:16 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cw3zF-0005DD-67 for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Feb 2005 20:46:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw4CD-0005Hy-A0 for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Feb 2005 15:00:21 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.wideopenwest.com!news.wideopenwest.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Tue, 01 Feb 2005 13:46:03 -0600 Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original Original-Lines: 23 Original-NNTP-Posting-Host: 64.53.184.119 Original-X-Trace: sv3-ykfvlmm1jyK2+DqmUNmPssoVA6TujzyffFkZ7xYQAtElTTmcEycTuUJQXkQ2cr5q7L1oD5i23nJSUAM!a3sq4/vJSepD2OF6fmK98xyDOpiYB2oZ0bgZXiwNv5WJNmvwNTbZcdKBvm00NHKlb0vPuubXFw+f!rf0FDoOaCyflF/PnWc6EgD4= Original-X-Complaints-To: abuse@wideopenwest.com X-DMCA-Complaints-To: abuse@wideopenwest.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.22 Original-Xref: shelby.stanford.edu gnu.emacs.help:128322 Original-To: help-gnu-emacs@gnu.org 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:23830 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23830 I am trying to edit a unicode file created with Windows NotePad. What encoding method should I use? I have tried the following utf-16-le utf-16-le-dos mule-utf-16-le-dos I am trying to read an xml file. I have the psgml-1.2.5 package installed. When I open the file with any of the above encoding, I either get an error when the psgml package loads or an error when I try to save the file. If I save the same file with UTF-8 encoding in NotePad and open it with emacs with UTF-8 encoding, I have no problems. So, it appears that I do not have the correct encoding when I am trying to read the unicode file. Anyone have any ideas? Dave