[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

An iso-8859-6 cannot be saved

From: Peter Dyballa
Subject: An iso-8859-6 cannot be saved
Date: Wed, 20 Sep 2006 13:33:13 +0200


My test files starts with: ;;; -*- coding: iso-8859-6; -*-

The mode-line starts with -6:

GNU Emacs 22.0.50 was started with -Q

When I try to save it I get in mini-buffer:

Selected encoding mule-utf-8-unix disagrees with iso-8859-6-unix specified by file contents. Really save (else edit coding cookies and try again)? (yes or no)

Then it's saved in UTF-8 and the mode-line changes to -u:. In another editor (Smultron) I can load the file in ISO 8859-6 encoding and see that it's original encoding was changed to something like UTF-8 (two octets when there was only one before).

In GNU Emacs (powerpc-apple-darwin8.7.0, X toolkit, Xaw3d scroll bars)
of 2006-09-20 on Latsche
X server distributor `The XFree86 Project, Inc', version 11.0.40400000
configured using `configure '--without-ns' '--without-carbon' '--with- x' '--without-sound' '--without-pop' '--with-xpm' '--with-jpeg' '-- with-tiff' '--with-gif' '--with-png' '--enable-locallisppath=/Library/ Application Support/Emacs/calendar22:/Library/Application Support/ Emacs/preview:/Library/Application Support/Emacs/auctex/images:/ Library/Application Support/Emacs/auctex:/Library/Application Support/ Emacs' 'CFLAGS=-pipe -fPIC -fast -mcpu=7450 -mtune=7450 -ftree- vectorize -mpim-altivec -foptimize-register-move -freorder-blocks - freorder-blocks-and-partition -fthread-jumps -fpeephole -fno- crossjumping' 'CPPFLAGS=-no-cpp-precomp -I/usr/include/openssl -I/usr/ local/include -I/sw/include/libpng12 -I/sw/include' 'LDFLAGS=- dead_strip -L/usr/X11R6/lib -L/usr/local/lib -L/sw/lib/ncurses -L/sw/ lib''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t



The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!" (I found it!) but "That's funny..."
                                      Isaac Asimov

reply via email to

[Prev in Thread] Current Thread [Next in Thread]