unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* input when running in a UTF-8 locale
@ 2002-08-07 20:49 Trond Eivind Glomsrod
  2002-08-08  5:34 ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Trond Eivind Glomsrod @ 2002-08-07 20:49 UTC (permalink / raw)


This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-08-06 on stripples.devel.redhat.com
configured using `configure  --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-gcc --with-pop --with-sound'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

When running emacs in a utf-8 locale (en_US.UTF-8) and using an international
keyboard layout or input method (setxkbmap us_intl  or just use the compose key),
entering a non 7-bit characters doesn't work - you'll get the raw UTF-8 sequence 
inserted into the buffer as emacs doesn't recognize it.



Recent input:
M-x r e p o <tab> r <tab> <return>

Recent messages:
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/ruby-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/w3m-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/wl-init.el (source)...done
For information about the GNU Project and its goals, type C-h C-p.
Making completion list...
Loading view...done
Loading emacsbug...done

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

* Re: input when running in a UTF-8 locale
  2002-08-07 20:49 input when running in a UTF-8 locale Trond Eivind Glomsrod
@ 2002-08-08  5:34 ` Eli Zaretskii
  2002-08-09 21:18   ` Trond Eivind Glomsrød
  2002-12-22  8:54   ` Alexander Pohoyda
  0 siblings, 2 replies; 9+ messages in thread
From: Eli Zaretskii @ 2002-08-08  5:34 UTC (permalink / raw)
  Cc: bug-gnu-emacs


On Wed, 7 Aug 2002, Trond Eivind Glomsrod wrote:

> When running emacs in a utf-8 locale (en_US.UTF-8) and using an international
> keyboard layout or input method (setxkbmap us_intl  or just use the compose key),
> entering a non 7-bit characters doesn't work - you'll get the raw UTF-8 sequence 
> inserted into the buffer as emacs doesn't recognize it.

Does it help to read the entry in etc/PROBLEMS whose header line says 
"Problems when using Emacs with UTF-8 locales"?

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

* Re: input when running in a UTF-8 locale
  2002-08-08  5:34 ` Eli Zaretskii
@ 2002-08-09 21:18   ` Trond Eivind Glomsrød
  2002-12-22  8:54   ` Alexander Pohoyda
  1 sibling, 0 replies; 9+ messages in thread
From: Trond Eivind Glomsrød @ 2002-08-09 21:18 UTC (permalink / raw)


eliz@is.elta.co.il (Eli Zaretskii) writes:

> On Wed, 7 Aug 2002, Trond Eivind Glomsrod wrote:
> 
> > When running emacs in a utf-8 locale (en_US.UTF-8) and using an international
> > keyboard layout or input method (setxkbmap us_intl  or just use the compose key),
> > entering a non 7-bit characters doesn't work - you'll get the raw UTF-8 sequence 
> > inserted into the buffer as emacs doesn't recognize it.
> 
> Does it help to read the entry in etc/PROBLEMS whose header line says 
> "Problems when using Emacs with UTF-8 locales"?

Yes, that helped. Added that to our default init files, execution
conditional on LANG ending in "UTF-8" - using such a locale is the
default for most languages in the current beta of RHL.

-- 
Trond Eivind Glomsrød
Red Hat, Inc.

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

* Re: input when running in a UTF-8 locale
  2002-08-08  5:34 ` Eli Zaretskii
  2002-08-09 21:18   ` Trond Eivind Glomsrød
@ 2002-12-22  8:54   ` Alexander Pohoyda
  2002-12-27  6:12     ` Kenichi Handa
  1 sibling, 1 reply; 9+ messages in thread
From: Alexander Pohoyda @ 2002-12-22  8:54 UTC (permalink / raw)


eliz@is.elta.co.il (Eli Zaretskii) writes:

> On Wed, 7 Aug 2002, Trond Eivind Glomsrod wrote:
> 
> > When running emacs in a utf-8 locale (en_US.UTF-8) and using an
> > international keyboard layout or input method (setxkbmap us_intl
> > or just use the compose key), entering a non 7-bit characters
> > doesn't work - you'll get the raw UTF-8 sequence inserted into the
> > buffer as emacs doesn't recognize it.
> 
> Does it help to read the entry in etc/PROBLEMS whose header line says 
> "Problems when using Emacs with UTF-8 locales"?

This does not help in my case. I can view UTF-8 encoded text, can
input localized text using LEIM, but cannot input any symbol using
XFree86's XKB. Looks like Emacs ignores my keystrokes.
I can, however, input localized text using XKB in Mozilla 1.0

I have:
export LANG="C"
export LC_CTYPE="en_GB.UTF-8"
set in my ~/.profile file.


GNU Emacs 21.2.1 (i386--freebsd, X toolkit, Xaw3d scroll bars)

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002

FreeBSD oak.pohoyda.family 4.5-RC3 FreeBSD 4.5-RC3 #18: Mon Sep 30
11:54:15 CEST 2002 

What could be the problem?


-- 
Alexander Pohoyda

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

* Re: input when running in a UTF-8 locale
  2002-12-22  8:54   ` Alexander Pohoyda
@ 2002-12-27  6:12     ` Kenichi Handa
  2002-12-27 23:27       ` Alexander Pohoyda
  2003-01-06 19:16       ` Dave Love
  0 siblings, 2 replies; 9+ messages in thread
From: Kenichi Handa @ 2002-12-27  6:12 UTC (permalink / raw)
  Cc: bug-gnu-emacs

In article <200212220854.gBM8siVW000782@oak.pohoyda.family>, Alexander Pohoyda <alexander.pohoyda@gmx.net> writes:
> This does not help in my case. I can view UTF-8 encoded text, can
> input localized text using LEIM, but cannot input any symbol using
> XFree86's XKB. Looks like Emacs ignores my keystrokes.
> I can, however, input localized text using XKB in Mozilla 1.0

Have you tried the latest CVS code?  In that version, Dave
has implemented the hash table x-keysym-table.

---
Ken'ichi HANDA
handa@m17n.org

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

* Re: input when running in a UTF-8 locale
  2002-12-27  6:12     ` Kenichi Handa
@ 2002-12-27 23:27       ` Alexander Pohoyda
  2002-12-28  0:23         ` Kenichi Handa
       [not found]         ` <mailman.654.1041035042.19936.bug-gnu-emacs@gnu.org>
  2003-01-06 19:16       ` Dave Love
  1 sibling, 2 replies; 9+ messages in thread
From: Alexander Pohoyda @ 2002-12-27 23:27 UTC (permalink / raw)
  Cc: bug-gnu-emacs

> > This does not help in my case. I can view UTF-8 encoded text, can
> > input localized text using LEIM, but cannot input any symbol using
> > XFree86's XKB. Looks like Emacs ignores my keystrokes.
> > I can, however, input localized text using XKB in Mozilla 1.0
> 
> Have you tried the latest CVS code?  In that version, Dave
> has implemented the hash table x-keysym-table.

No, I have not yet. Do you mean latest Emacs or Leim code here?


-- 
Alexander Pohoyda
<alexander.pohoyda@gmx.net>

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

* Re: input when running in a UTF-8 locale
  2002-12-27 23:27       ` Alexander Pohoyda
@ 2002-12-28  0:23         ` Kenichi Handa
       [not found]         ` <mailman.654.1041035042.19936.bug-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 9+ messages in thread
From: Kenichi Handa @ 2002-12-28  0:23 UTC (permalink / raw)
  Cc: bug-gnu-emacs

In article <200212272327.gBRNRJZp001282@oak.pohoyda.family>, Alexander Pohoyda <alexander.pohoyda@gmx.net> writes:
>>  > This does not help in my case. I can view UTF-8 encoded text, can
>>  > input localized text using LEIM, but cannot input any symbol using
>>  > XFree86's XKB. Looks like Emacs ignores my keystrokes.
>>  > I can, however, input localized text using XKB in Mozilla 1.0
>>  
>>  Have you tried the latest CVS code?  In that version, Dave
>>  has implemented the hash table x-keysym-table.

> No, I have not yet. Do you mean latest Emacs or Leim code here?

I mean the latest Emacs.

---
Ken'ichi HANDA
handa@m17n.org

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

* Re: input when running in a UTF-8 locale
       [not found]         ` <mailman.654.1041035042.19936.bug-gnu-emacs@gnu.org>
@ 2002-12-30  1:17           ` Alexander Pohoyda
  0 siblings, 0 replies; 9+ messages in thread
From: Alexander Pohoyda @ 2002-12-30  1:17 UTC (permalink / raw)


Kenichi Handa <handa@m17n.org> writes:

> >>  > This does not help in my case. I can view UTF-8 encoded text, can
> >>  > input localized text using LEIM, but cannot input any symbol using
> >>  > XFree86's XKB. Looks like Emacs ignores my keystrokes.
> >>  > I can, however, input localized text using XKB in Mozilla 1.0
> >>  
> >>  Have you tried the latest CVS code?  In that version, Dave
> >>  has implemented the hash table x-keysym-table.

Yes, it works now. Just works.

GNU Emacs 21.3.50.3 (i386-unknown-freebsd4.5, X toolkit, Xaw3d scroll bars) of 2002-12-30 on oak.pohoyda.family

Thank you very much!


-- 
Alexander Pohoyda

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

* Re: input when running in a UTF-8 locale
  2002-12-27  6:12     ` Kenichi Handa
  2002-12-27 23:27       ` Alexander Pohoyda
@ 2003-01-06 19:16       ` Dave Love
  1 sibling, 0 replies; 9+ messages in thread
From: Dave Love @ 2003-01-06 19:16 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Kenichi Handa <handa@m17n.org> writes:

> In article <200212220854.gBM8siVW000782@oak.pohoyda.family>, Alexander Pohoyda <alexander.pohoyda@gmx.net> writes:
> > This does not help in my case. I can view UTF-8 encoded text, can
> > input localized text using LEIM, but cannot input any symbol using
> > XFree86's XKB. Looks like Emacs ignores my keystrokes.
> > I can, however, input localized text using XKB in Mozilla 1.0
> 
> Have you tried the latest CVS code?  In that version, Dave
> has implemented the hash table x-keysym-table.

I don't know exactly what the problem is, but in Emacs 21.2 it
probably helps to use `set-keyboard-coding-system' with `utf-8'.  That
works around a bug decoding X input (fixed for 21.3) without having to
use development source.

[The x-keysym-table feature was meant for a different circumstance,
and by design may insert characters that the buffer's coding system
can't encode.]

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

end of thread, other threads:[~2003-01-06 19:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-07 20:49 input when running in a UTF-8 locale Trond Eivind Glomsrod
2002-08-08  5:34 ` Eli Zaretskii
2002-08-09 21:18   ` Trond Eivind Glomsrød
2002-12-22  8:54   ` Alexander Pohoyda
2002-12-27  6:12     ` Kenichi Handa
2002-12-27 23:27       ` Alexander Pohoyda
2002-12-28  0:23         ` Kenichi Handa
     [not found]         ` <mailman.654.1041035042.19936.bug-gnu-emacs@gnu.org>
2002-12-30  1:17           ` Alexander Pohoyda
2003-01-06 19:16       ` Dave Love

Code repositories for project(s) associated with this public inbox

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

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).