zsh-workers
 help / color / mirror / code / Atom feed
* problem deleting special chars
@ 2004-03-09 13:25 Hartwig, Thomas
  2004-03-09 13:48 ` Oliver Kiddle
  0 siblings, 1 reply; 3+ messages in thread
From: Hartwig, Thomas @ 2004-03-09 13:25 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 742 bytes --]

Hello,

since my installation of zsh 4.1.1, I have problems deleting special 
chars in the shell. I use german layout keyboard and deleting of umlauts 
like "ä", "ü" does not work any more. If I want to delete such a char I 
have to press the backspace key twice and the position of the cursor is 
broken. I used zsh version below 4.0 before, so I can't tell exactly at 
which version this happend. This is independent from the settings of the 
  shell, I tested this without a zshrc as well.

Thanks for any suggestions
Thomas

environment:
$ echo $TERM
xterm
$ echo $LANG
en_US.UTF-8 (other language settings tested as well)
$ cat /proc/version
Linux version 2.4.22-ac4 (root@nautilus) (gcc version 3.2.2 20030222 
(Red Hat Linux 3.2.2-5))

[-- Attachment #2: t.hartwig.vcf --]
[-- Type: text/x-vcard, Size: 298 bytes --]

begin:vcard
fn:Thomas Hartwig
n:Hartwig;Thomas
adr:;;Boppstr. 11;Berlin;D;10967;Germany
email;internet:t.hartwig@crapoud.com
tel;work:+49 30 69599727
tel;fax:+49 30 695969444
tel;cell:+49 172 3265984
note:GnuPG/PGP: 0xC51B523B
x-mozilla-html:FALSE
url:http://www.crapoud.com
version:2.1
end:vcard


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

* Re: problem deleting special chars
  2004-03-09 13:25 problem deleting special chars Hartwig, Thomas
@ 2004-03-09 13:48 ` Oliver Kiddle
  2004-03-09 14:14   ` Hartwig, Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Oliver Kiddle @ 2004-03-09 13:48 UTC (permalink / raw)
  To: Hartwig, Thomas; +Cc: zsh-workers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1115 bytes --]

"Hartwig, Thomas" wrote:
> 
> since my installation of zsh 4.1.1, I have problems deleting special 
> chars in the shell. I use german layout keyboard and deleting of umlauts 
> like "ä", "ü" does not work any more. If I want to delete such a char I 
> have to press the backspace key twice and the position of the cursor is 
> broken. I used zsh version below 4.0 before, so I can't tell exactly at 
> which version this happend. This is independent from the settings of the 
>   shell, I tested this without a zshrc as well.

Unfortunately, zsh doesn't have full support for the UTF-8 character
encoding. It is also the case that it never has done. Did you upgrade
more than just zsh? Having to press backspace twice makes sense
because, characters like ä are represented using 2 bytes in UTF-8.

> $ echo $LANG
> en_US.UTF-8 (other language settings tested as well)

To try other language settings, did you just assign to LANG? The
trouble is that your xterm is probably running in the UTF-8 locale and
changing LANG from zsh won't change that. LANG needs to be set in
xterm's environment when it runs.

Oliver


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

* Re: problem deleting special chars
  2004-03-09 13:48 ` Oliver Kiddle
@ 2004-03-09 14:14   ` Hartwig, Thomas
  0 siblings, 0 replies; 3+ messages in thread
From: Hartwig, Thomas @ 2004-03-09 14:14 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 1477 bytes --]

Hi Oliver,

thanks for your hint, this helped.

You are right, I did not restart xterm with the new LANG setting. With
that I can delete my umlauts corectly.

So I will use just "en_US" for my LANG setting.

Thanks again and have a nice day
Thomas

Oliver Kiddle wrote:
> "Hartwig, Thomas" wrote:
> 
>>since my installation of zsh 4.1.1, I have problems deleting special 
>>chars in the shell. I use german layout keyboard and deleting of umlauts 
>>like "ä", "ü" does not work any more. If I want to delete such a char I 
>>have to press the backspace key twice and the position of the cursor is 
>>broken. I used zsh version below 4.0 before, so I can't tell exactly at 
>>which version this happend. This is independent from the settings of the 
>>  shell, I tested this without a zshrc as well.
> 
> 
> Unfortunately, zsh doesn't have full support for the UTF-8 character
> encoding. It is also the case that it never has done. Did you upgrade
> more than just zsh? Having to press backspace twice makes sense
> because, characters like ä are represented using 2 bytes in UTF-8.
> 
> 
>>$ echo $LANG
>>en_US.UTF-8 (other language settings tested as well)
> 
> 
> To try other language settings, did you just assign to LANG? The
> trouble is that your xterm is probably running in the UTF-8 locale and
> changing LANG from zsh won't change that. LANG needs to be set in
> xterm's environment when it runs.
> 
> Oliver

-- 
Thomas Hartwig - Software & IT-Service Specialist


[-- Attachment #2: t.hartwig.vcf --]
[-- Type: text/x-vcard, Size: 298 bytes --]

begin:vcard
fn:Thomas Hartwig
n:Hartwig;Thomas
adr:;;Boppstr. 11;Berlin;D;10967;Germany
email;internet:t.hartwig@crapoud.com
tel;work:+49 30 69599727
tel;fax:+49 30 695969444
tel;cell:+49 172 3265984
note:GnuPG/PGP: 0xC51B523B
x-mozilla-html:FALSE
url:http://www.crapoud.com
version:2.1
end:vcard


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

end of thread, other threads:[~2004-03-09 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-09 13:25 problem deleting special chars Hartwig, Thomas
2004-03-09 13:48 ` Oliver Kiddle
2004-03-09 14:14   ` Hartwig, Thomas

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

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).