all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How do I get emacs to display accented characters?
@ 2002-12-02  5:51 Jay F. Shachter
  2002-12-02  6:24 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jay F. Shachter @ 2002-12-02  5:51 UTC (permalink / raw)


I am using Emacs version 21.2.2, which I believe is the current version,
or close to it.

I am certain that this is a frequently-asked question, and I apologize
for asking it of you, but I have read the FAQ document, I have done
everything the info files instruct me to do, as far as I can figure out,
and I am still failing to get emacs to display accented characters.

When I use XEmacs, I have no problem.  When the buffer contains, e.g.,
"Rick's Café Américain", XEmacs displays "Rick's Café Américain".
Emacs, on the other hand, displays "Rick's Cafe Americain".  Unless
I do (load-library "iso-ascii"), in which case it displays "Rick's
Caf{'e} Am{'e}ricain".  Nothing I do has succeeding in getting Emacs
to display "Rick's Café Américain" like XEmacs does.

These are the things that I have done, which have had no effect:
 (set-terminal-coding-system 'iso-latin-1-unix)
 (setq unibyte-display-via-language-environment t)
 (set-language-environment 'Latin-1)

Surely there is something simple that I am failing to do.  I cannot
figure out what it is.  Your replies will be much appreciated.  I thank
you all in advance for your help.

                   Jay Shachter
                   jay@m5.chi.il.us

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How do I get emacs to display accented characters?
  2002-12-02  5:51 How do I get emacs to display accented characters? Jay F. Shachter
@ 2002-12-02  6:24 ` Eli Zaretskii
  2002-12-02  7:56 ` Kai Großjohann
  2002-12-02 10:28 ` John Wiegley
  2 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2002-12-02  6:24 UTC (permalink / raw)



On 1 Dec 2002, Jay F. Shachter wrote:

> When I use XEmacs, I have no problem.  When the buffer contains, e.g.,
> "Rick's Café Américain", XEmacs displays "Rick's Café Américain".
> Emacs, on the other hand, displays "Rick's Cafe Americain".  Unless
> I do (load-library "iso-ascii"), in which case it displays "Rick's
> Caf{'e} Am{'e}ricain".  Nothing I do has succeeding in getting Emacs
> to display "Rick's Café Américain" like XEmacs does.

Try running Emacs with "emacs -q --no-site-file".  If that solves the 
problems you have, there's something in your .emacs or in the site-wide 
startup files which does the damage.

> These are the things that I have done, which have had no effect:
>  (set-terminal-coding-system 'iso-latin-1-unix)
>  (setq unibyte-display-via-language-environment t)
>  (set-language-environment 'Latin-1)

There's probably more customizations in your .emacs that produce the 
adverse effect.  Something that makes your sessions unibyte, perhaps?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How do I get emacs to display accented characters?
  2002-12-02  5:51 How do I get emacs to display accented characters? Jay F. Shachter
  2002-12-02  6:24 ` Eli Zaretskii
@ 2002-12-02  7:56 ` Kai Großjohann
  2002-12-02 10:28 ` John Wiegley
  2 siblings, 0 replies; 4+ messages in thread
From: Kai Großjohann @ 2002-12-02  7:56 UTC (permalink / raw)


jay@m5.chi.il.us (Jay F. Shachter) writes:

> When I use XEmacs, I have no problem.  When the buffer contains, e.g.,
> "Rick's Café Américain", XEmacs displays "Rick's Café Américain".
> Emacs, on the other hand, displays "Rick's Cafe Americain".  Unless
> I do (load-library "iso-ascii"), in which case it displays "Rick's
> Caf{'e} Am{'e}ricain".  Nothing I do has succeeding in getting Emacs
> to display "Rick's Café Américain" like XEmacs does.
>
> These are the things that I have done, which have had no effect:
>  (set-terminal-coding-system 'iso-latin-1-unix)
>  (setq unibyte-display-via-language-environment t)
>  (set-language-environment 'Latin-1)

Are you loading latin1-disp, perhaps?

Hm.  Strange.  Are you running in a terminal or under X11?

-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How do I get emacs to display accented characters?
  2002-12-02  5:51 How do I get emacs to display accented characters? Jay F. Shachter
  2002-12-02  6:24 ` Eli Zaretskii
  2002-12-02  7:56 ` Kai Großjohann
@ 2002-12-02 10:28 ` John Wiegley
  2 siblings, 0 replies; 4+ messages in thread
From: John Wiegley @ 2002-12-02 10:28 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 1038 bytes --]

>>>>> On Sun Dec  1, Jay writes:

> When I use XEmacs, I have no problem.  When the buffer contains,
> e.g., "Rick's Café Américain", XEmacs displays "Rick's
> Café Américain".  Emacs, on the other hand, displays "Rick's
> Cafe Americain".  Unless I do (load-library "iso-ascii"), in which
> case it displays "Rick's Caf{'e} Am{'e}ricain".  Nothing I do has
> succeeding in getting Emacs to display "Rick's Café
> Américain" like XEmacs does.

> These are the things that I have done, which have had no effect:
> (set-terminal-coding-system 'iso-latin-1-unix) (setq
> unibyte-display-via-language-environment t)
> (set-language-environment 'Latin-1)

Usually this sort of thing happens if there is *even one* character
that is not part of the latin-1 encoding.  For example, it happens to
me when saving certain web pages that use \240 as a space character.
Once I replace these extraneous codes, then when I visit the buffer
the accents are automatically displayed.  You shouldn't have to
change any of the buffer local variables.

John

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-12-02 10:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-02  5:51 How do I get emacs to display accented characters? Jay F. Shachter
2002-12-02  6:24 ` Eli Zaretskii
2002-12-02  7:56 ` Kai Großjohann
2002-12-02 10:28 ` John Wiegley

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.