all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gnu emacs w32 & unicode
@ 2004-06-28 23:16 Edward Casey
  2004-06-29  7:52 ` Jason Rumney
  0 siblings, 1 reply; 4+ messages in thread
From: Edward Casey @ 2004-06-28 23:16 UTC (permalink / raw)


Has anyone out there using i386-mingw (21.3.1) successfully input unicode
characters into buffers and saved them to files? I can see the Latin.4
characters in the read only "List Character Sets" buffer, and can
copypaste them into *scratch*, but I can't seem to produce them whatever
combination of language environment, input methods, and coding systems I
use. I suspect a font problem but I have about 200 different TT fonts in
\windows\fonts and I know many of them have the glyphs for Latin-4
(Extended A), certainly Arial Unicode MS and Courier. Can anyone give me a
fail-safe recipe to input these characters?

Thanks,

Ed.

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

* Re: gnu emacs w32 & unicode
  2004-06-28 23:16 gnu emacs w32 & unicode Edward Casey
@ 2004-06-29  7:52 ` Jason Rumney
  2004-06-30 14:58   ` Edward Casey
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Rumney @ 2004-06-29  7:52 UTC (permalink / raw)


"Edward Casey" <ejmn@cpinternet.com> writes:

> Has anyone out there using i386-mingw (21.3.1) successfully input unicode
> characters into buffers and saved them to files? I can see the Latin.4
> characters in the read only "List Character Sets" buffer, and can
> copypaste them into *scratch*, but I can't seem to produce them whatever
> combination of language environment, input methods, and coding systems I
> use. I suspect a font problem but I have about 200 different TT fonts in
> \windows\fonts and I know many of them have the glyphs for Latin-4
> (Extended A), certainly Arial Unicode MS and Courier. Can anyone give me a
> fail-safe recipe to input these characters?

C-u C-\ latin-4-postfix

Then type the combination of characters that is needed to compose the
character you want (eg o-)

But that won't give you Unicode. For that, you will need Emacs from
CVS AFAIK.

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

* Re: gnu emacs w32 & unicode
  2004-06-29  7:52 ` Jason Rumney
@ 2004-06-30 14:58   ` Edward Casey
  2004-06-30 15:28     ` Kai Grossjohann
  0 siblings, 1 reply; 4+ messages in thread
From: Edward Casey @ 2004-06-30 14:58 UTC (permalink / raw)


[Note: view with UTF-8 encoding]

<jasonr (Jason Rumney) @ f2s.com> wrote in message
news:uwu1qyf6i.fsf@jasonrumney.net...
> "Edward Casey" <ejmn@cpinternet.com> writes:
>
> > Has anyone out there using i386-mingw (21.3.1) successfully input
unicode
> > characters into buffers and saved them to files? I can see the Latin.4
> > characters in the read only "List Character Sets" buffer, and can
> > copypaste them into *scratch*, but I can't seem to produce them
whatever
> > combination of language environment, input methods, and coding systems
I
> > use. I suspect a font problem but I have about 200 different TT fonts
in
> > \windows\fonts and I know many of them have the glyphs for Latin-4
> > (Extended A), certainly Arial Unicode MS and Courier. Can anyone give
me a
> > fail-safe recipe to input these characters?
>
> C-u C-\ latin-4-postfix
>
> Then type the combination of characters that is needed to compose the
> character you want (eg o-)
>
> But that won't give you Unicode. For that, you will need Emacs from
> CVS AFAIK.
>

Thanks, Jason. That works. Now I can even get the characters "āēīōūĀĒĪŌŪ"
(should be macroned vowels under UTF-8 encoding) out to a UTF-8 file. This
I can get into MSWord but not directly into OpenOffice. I would like to
avoid non-copylefted software. The mule status to accomplish this is:
Multi-byte status "default t, current buffer t,"terminal coding
"emacs-mule," language environment "Latin-4," and, as you say, default
input method "latin-4-postfix." Now I'm wondering if running the Lisp
routine that is the goal of all this setting up of the environment will be
possible. Is a form like:

((eq c ?A) (delete-char) (insert ?Ā))

a legal lisp expression or is it necessary to use some escape sequence
with hex codes to represent a litteral unicode character outside the ascii
range? Anyway,

Thanks again,

Ed

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

* Re: gnu emacs w32 & unicode
  2004-06-30 14:58   ` Edward Casey
@ 2004-06-30 15:28     ` Kai Grossjohann
  0 siblings, 0 replies; 4+ messages in thread
From: Kai Grossjohann @ 2004-06-30 15:28 UTC (permalink / raw)


"Edward Casey" <ejmn@cpinternet.com> writes:

> ((eq c ?A) (delete-char) (insert ?Ā))

That is legal, but please make sure to put a coding cookie into the
file.  That is, if the encoding is supposed to be utf-8, then put

;; -*- coding: utf-8; -*-

into the first line of the file.  (There can be other stuff on that
line, too.  The important part is the stuff enclosed in "-*-".)

Kai

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

end of thread, other threads:[~2004-06-30 15:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-28 23:16 gnu emacs w32 & unicode Edward Casey
2004-06-29  7:52 ` Jason Rumney
2004-06-30 14:58   ` Edward Casey
2004-06-30 15:28     ` Kai Grossjohann

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.