Re: mule doesn't like languages different from english

Aidan Kehoe <[email protected]> Wed, 2 Mar 2005 17:42:31 +0100
Newsgroups gmane.emacs.xemacs.mule
Message-ID <[email protected]>
 Ar an dara l=C3=A1 de m=C3=AD M=C3=A1rta, scr=C3=ADobh Tam=C3=A1s H=C3=A9=
ri:=20

 > How can I set a coding system/set up xemacs, so that it fulfills the
 > following requirements:
 > 1)  the saved output is ISO-8859-2-encoded version of the visible

 > (ie udblacute corresponds 0xFB, odblacute to 0xF5, etc.)
 >=20
 > 2) the saved output can be re-opened, and the buffer is able to
 > reproduce the previous visual content (i.e no otilde in the place of
 > odblacute, no ucirc instead of udblacute, etc.)
 > It is not really necessary, that the xemacs recognizes the encoding,
 > it would be enough that after I specify it, the visual output
 > corresponds to the previous (original edit) state.

Try adding this to your ~/.xemacs/init.el, and restarting:=20

(set-language-environment "Latin-2")
(setq latin-unity-preapproved-coding-system-list '(iso-8859-2))
(latin-unity-install)

You=E2=80=99ll need the Latin Unity package available, but most copies of=
 XEmacs
that have Mule enabled ship with that already.=20

(Stephen, given this report, I think there=E2=80=99s a strong argument fo=
r moving
latin-unity into mule-base and having the preapproved coding system list =
part
of the language environment settings.)

 > [...] So, I'm a little bit lost with mule; I do not really know that i=
t
 > could ever be useful to anyone using different language than english; =
but
 > why does it exist then?!

The people who wrote it are Japanese, and haven=E2=80=99t had much exposu=
re to
Roman-alphabet languages that aren=E2=80=99t English, unfortunately :-( .=
=20

 > Thanks,=20
 > Tam=C3=A1s

By the way, your mailer didn=E2=80=99t specify a MIME character set for t=
hat
attached file, so mine guessed it was ISO-8859-1.=20

 > =C3=81rv=C3=ADzt=C3=BBr=C3=B5 t=C3=BCk=C3=B6rf=C3=BAr=C3=B3g=C3=A9p


--=20
=E2=80=9CI, for instance, am gung-ho about open source because my family =
is being
held hostage in Rob Malda=E2=80=99s basement. But who fact-checks me, or =
Enderle,
when we say something in public? No-one!=E2=80=9D -- Danny O=E2=80=99Brie=
n