unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Trying to input Unicode via GNU Emacs 21.3.1
@ 2005-02-11 21:00 List account
  2005-02-12 13:29 ` Peter Dyballa
  0 siblings, 1 reply; 9+ messages in thread
From: List account @ 2005-02-11 21:00 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 1613 bytes --]

Greetings...

My apologies if this question has already been answered before, but I 
couldn't find a relevant answer in the archives.

I am trying to use GNU Emacs 21.3.1 on FreeBSD (5.3) to edit web pages 
(I'm accessing my FreeBSD machine via Terminal.App on a Mac, with 
TERM=xterm-color).  I need to input Unicode characters and have them 
appear properly in web browsers.  Currently, I have gotten Emacs to use 
"Unicode" mode (i.e. the two or three little "u"'s appear at the bottom 
left), and I am able to enter characters that look just fine in Emacs, 
but they display as gibberish in browsers.

For instance, I need to be able to display the typical accented 
Spanish, Italian and French characters.  As an example, I can input 
"Alarcón" in Emacs and it looks fine, but it displays in my browser 
(Camino 0.82 on Mac OS X) as "Alarcón".  The odd thing is that I 
basically copied and modified this text from a page that actually works 
just fine.

I have the following lines in my .emacs:
(setq locale-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(prefer-coding-system 'utf-8)

I have also tried the technique of hitting [C-q] and entering the 
Unicode string, but it chokes on the codes for accented characters and 
instead of inserting the accented "a" character (0x00E1) by typing C-q 
0 0 E 1 it produces "^@e1".

Any suggestions?

Thanks a lot!

-Erik Norvelle
erik (at) norvelle (dot) org
Facultad de Filosofía y Letras
Universidad de Navarra
Pamplona, Navarra, España

[-- Attachment #1.2: Type: text/enriched, Size: 1699 bytes --]

Greetings...


My apologies if this question has already been answered before, but I
couldn't find a relevant answer in the archives.


I am trying to use GNU Emacs 21.3.1 on FreeBSD (5.3) to edit web pages
(I'm accessing my FreeBSD machine via Terminal.App on a Mac, with
TERM=xterm-color).  I need to input Unicode characters and have them
appear properly in web browsers.  Currently, I have gotten Emacs to
use "Unicode" mode (i.e. the two or three little "u"'s appear at the
bottom left), and I am able to enter characters that look just fine in
Emacs, but they display as gibberish in browsers.


For instance, I need to be able to display the typical accented
Spanish, Italian and French characters.  As an example, I can input
"Alarcón" in Emacs and it looks fine, but it displays in my browser
(Camino 0.82 on Mac OS X) as "Alarcón".  The odd thing is that I
basically copied and modified this text from a page that actually
works just fine.


I have the following lines in my .emacs:

<fixed><fontfamily><param>Courier New</param>(setq
locale-coding-system 'utf-8)

(set-terminal-coding-system 'utf-8)

(set-keyboard-coding-system 'utf-8)

(set-selection-coding-system 'utf-8)

(prefer-coding-system 'utf-8)</fontfamily></fixed>


I have also tried the technique of hitting [C-q] and entering the
Unicode string, but it chokes on the codes for accented characters and
instead of inserting the accented "a" character (0x00E1) by typing C-q
0 0 E 1 it produces "^@e1".


Any suggestions?


Thanks a lot!


-Erik Norvelle

erik (at) norvelle (dot) org

Facultad de Filosofía y Letras

Universidad de Navarra

Pamplona, Navarra, España

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

end of thread, other threads:[~2005-02-14  1:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1808.1108157331.2841.help-gnu-emacs@gnu.org>
2005-02-11 21:31 ` Trying to input Unicode via GNU Emacs 21.3.1 David Kastrup
2005-02-12  3:06   ` August
2005-02-12 16:15     ` August
2005-02-12 17:27       ` Erik Norvelle
2005-02-12 19:06         ` Peter Dyballa
     [not found]   ` <mailman.1838.1108178666.2841.help-gnu-emacs@gnu.org>
2005-02-12 10:47     ` David Kastrup
2005-02-14  1:35       ` Stefan Monnier
2005-02-11 21:00 List account
2005-02-12 13:29 ` Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).