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

Re: EMACS (sid) and UTF-8/ISO-8859-1



Hi,

From: Osamu Aoki <osamu@debian.org>
Subject: EMACS (sid) and UTF-8/ISO-8859-1
Date: Thu, 23 Jan 2003 15:42:45 -0800

> SGML should be in ISO-8859-1 to be properly formatted with TeX tool
> chain into PDF and PS.  Everytime he commit a file, there are few
> accented Italian characters in UTF-8 these days.

IMO, ASCII is better than ISO-8859-1, because some people (who want
to edit the file) might not have ISO-8859-1-enabled environment since
it is a local encoding which is bound to specific languages and
geometric regions, just like some people don't have EUC-JP (another
local encoding)-enabled environment.

I also have a doubt that how the Italian person added UTF-8 characters
for a file which already have ISO-8859-1 characters.  It is simply
illegal and sane text editors must not be able to do such a thing.

However,

   (set-language-environment "Latin-1")

may help you in such a case.  And more, writing

    -*-coding: iso-8859-1;-*-

at the first line of the file will be detected by emacs.

---
Tomohiro KUBOTA <kubota@debian.org>
http://www.debian.or.jp/~kubota/




Reply to: