|--==> "SJT" == Stephen J Turnbull <stephen(a)xemacs.org> writes:
>>>>>"SY" == Steve Youngs
<youngs(a)xemacs.org> writes:
SY> Could I hang something off
'find-file-hooks' to change the
SY> coding system if it's "MSW UTF8"?
SJT> Not the right idea. Er ... try this:
SJT> (set-coding-priority-list
SJT> '(iso-8-1 iso-7 utf-16-little-endian-bom utf-16-bom utf-8-bom
no-conversion))
Yes, that worked for me. Thanks Steve!
SY> I usually run a Mule-enabled XEmacs and if I byte-compile
SY> these files with a Mule-XEmacs I can't load them with a
SY> non-Mule one. I get a "can't open load file: mule" error.
SJT> Er, check those files for the coding system cookie `escape-quoted'.
SJT> They are explicitly set to be encoded in raw-text-unix (binary) or
SJT> escape-quoted. If they are getting the UTF-8 signature that is very
SJT> bad indeed; it means the coding systems are leaking into each other.
Before rearranging the coding-priority-list these files had:
(require 'mule)
;;;###coding system: escape-quoted
And after rearranging coding-priority-list they had neither of those
two lines.
--
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|