Uwe Brauer writes:
- I enter a file and see UTF8:T I chose UTF8-unix
(set-buffer-file-coding-system 'utf-8-unix nil) save the
file and the T disappears. Now I switch back to
(set-buffer-file-coding-system 'utf-8-dos nil) save the
file, but *no* T appears.
Works for me (21.5.32), immediately on running
set-buffer-file-coding-system.
- I have a file with utf-8-unix, I close the file and run
unix2dos a script provided by my Kubuntu version and open the
file, *no* T appears, even worse the file has ^M symbols all
over. I presume you are going to tell me that this is a fault of
the script. Hm I downloaded a different one called todos, fromdos
and this seems to work fine! Strange
It's possible that unix2dos appends a ^Z at the end of the file and
XEmacs decides that the file is binary. Or simply that the coding
detection is buggy -- are you sure the file was detected as UTF-8?
It is best to use a pure ASCII file to test line ending detection, to
avoid other coding system issues.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta