unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "David Ellis" <ddellis@mail.com>
Subject: Re: unicode files created with windows notepad
Date: Wed, 2 Feb 2005 14:27:26 -0600	[thread overview]
Message-ID: <bbednb8piLsiqpzfRVn-gA@wideopenwest.com> (raw)
In-Reply-To: 36ccmeF4v995vU1@individual.net

I set debug-on-error to t, but no *Backtrace* buffer was created.

The *Messages* buffer includes the following:

(C:\Program Files\emacs\bin\emacs.exe)
Loading c:.emacs_common...
Loading font-lock...
Loading regexp-opt...done
Loading font-lock...done
Loading pc-mode...done
Loading pc-select...done
Loading delsel...done
Loading cc-styles...
Loading image...done
Loading cc-styles...done
Loading c:.emacs_common...done
For information about the GNU Project and its goals, type C-h C-p.
Loading lazy-lock...done
Fontifying *scratch*... (regexps.............)
Loading lazy-lock...done

Making completion list...
Loading view...done
Loading psgml (source)...
File mode specification error: (void-variable 
^[$,1s;^[$,3u=u=^[$,29,^[$,3u=^[$,25`5m^[$,3u=u=^[$,26,^[$,3u=u=u=^[$,1sg^[$,3u=u=u=u=^[$,1sh^[$,3u=u=u=^[$,1sg^[$,3u=


There is a long list of characters following this then,

Loading bs...done
Region saved


My version of emacs is GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600) of 
2004-03-10 on NYAUMO.

Thanks for your help.

Dave


"Kevin Rodgers" <ihs_4664@yahoo.com> wrote in message 
news:36ccmeF4v995vU1@individual.net...
> David Ellis wrote:
>> 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.
>
> My crystal ball is at the shop, getting buffed.  Perhaps you could set
> debug-on-error and post the resulting *Backtrace* buffers.
>
>> 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?
>
> Perhaps it is an issue with the presence or absence of the Byte Order
> Mark.  Does the UTF-16-LE file written by NotePad include a BOM, and
> is it correct (FF FE)?  If so, there could be a bug in Emacs and/or
> PSGML.
>
> -- 
> Kevin Rodgers 

  parent reply	other threads:[~2005-02-02 20:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-01 19:45 unicode files created with windows notepad David Ellis
2005-02-02  4:40 ` Eli Zaretskii
2005-02-02  8:44   ` Ismael Valladolid Torres
2005-02-02 11:03 ` Wolfgang Jeltsch
2005-02-02 16:16 ` Kevin Rodgers
2005-02-02 18:25   ` Eli Zaretskii
2005-02-02 20:27   ` David Ellis [this message]
     [not found] ` <mailman.415.1107320402.2841.help-gnu-emacs@gnu.org>
2005-02-02 20:04   ` David Ellis
2005-02-03  4:54     ` Eli Zaretskii
     [not found]     ` <mailman.630.1107408460.2841.help-gnu-emacs@gnu.org>
2005-02-03 12:50       ` David Ellis
2005-02-03 20:59         ` Jason Rumney
2005-02-03 13:50 ` David Ellis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bbednb8piLsiqpzfRVn-gA@wideopenwest.com \
    --to=ddellis@mail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).