>     (1) Keep the curren code.

    A file containing a windows-1252 char that doesn't appear in
    iso-8859-1 is detected as windows-1252.  Bad effect is that
    some (or many) binary files are also detected as
    windows-1252.

    >     (2) Cancel the change for windows-1252.

    A file containing a windows-1252 char that doesn't appear in
    iso-8859-1 is detected as raw-text.

1 is better than 2.

    > (6) Implement null-byte detection (to prevent binary files
    >    mis-detected as windows-12xx), keep the current code (windows-1252)
    >    and add windows-1254/1255 accordingly.

    I think that change results in the best behavior.

Please do that if you can do it in a way that is clearly safe.


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to