Re: mule doesn't like languages different from english

Tamás Héri <[email protected]> Wed, 2 Mar 2005 18:05:04 +0100
Newsgroups gmane.emacs.xemacs.mule
Message-ID <[email protected]>
Hello!

First, thanks for the quick answer!!!
Second, the settings you provided _solved_ the problem, so thank you
very much, 2nd time!!! (latin-unity was shipped with this version of
xemacs)

And, yes I understand, that encoding of a file can only be _guessed_
(tha attachement was handled by gmail, but it didn't asked for the
encoding ...)

Really interesting, that in the text of this mail in my editor
"odblacute" is OK, but "udblacute" is not. :-)

Probably, it would be a good idea to make a menu item under Edit/Mule
with the title: "set language environment"; because this setting seems
to have somewhat bigger importance ....

Thanks,
Tam=E1s

On Wed, 2 Mar 2005 17:42:31 +0100, Aidan Kehoe <[email protected]> wro=
te:
>=20
> Ar an dara l=E1 de m=ED M=E1rta, scr=EDobh Tam=E1s H=E9ri:
>=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
>=20
> > (ie udblacute corresponds 0xFB, odblacute to 0xF5, etc.)
> >
> > 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.
>=20
> 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)
>=20
> You'll need the Latin Unity package available, but most copies of XEmac=
s
> that have Mule enabled ship with that already.
>=20
> (Stephen, given this report, I think there's a strong argument for movi=
ng
> latin-unity into mule-base and having the preapproved coding system lis=
t part
> of the language environment settings.)
>=20
> > [...] So, I'm a little bit lost with mule; I do not really know that =
it
> > could ever be useful to anyone using different language than english;=
 but
> > why does it exist then?!
>=20
> The people who wrote it are Japanese, and haven't had much exposure to
> Roman-alphabet languages that aren't English, unfortunately :-( .
>=20
> > Thanks,
> > Tam=E1s
>=20
> By the way, your mailer didn't specify a MIME character set for that
> attached file, so mine guessed it was ISO-8859-1.
>=20
> > =C1rv=EDzt=FBr=F5 t=FCk=F6rf=FAr=F3g=E9p
>=20
> --
> "I, for instance, am gung-ho about open source because my family is bei=
ng
> held hostage in Rob Malda's basement. But who fact-checks me, or Enderl=
e,
> when we say something in public? No-one!" -- Danny O'Brien
>