zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Re: PATCH: multibyte configuration
Date: Sat, 07 Jan 2006 13:22:11 +0000	[thread overview]
Message-ID: <200601071322.k07DMBV4003670@pwslaptop.csr.com> (raw)
In-Reply-To: Message from Danek Duvall <duvall@comfychair.org>  of "Fri, 06 Jan 2006 18:45:38 PST." <20060107024538.GO8213@lorien.comfychair.org>

Danek Duvall wrote:
> For the purposes of this message, working is defined as
> 
>   - being able to insert a multibyte character onto the commandline with
>     insert-composed-character
> 
>   - echo a string of such characters into a file named with such
>     characters, via "echo <string> > <string>"
> 
>   - verify with ls that the file was created with the correct name
> 
>   - verify with cat the file contents are correct

My big problem is with inputting characters from the keyboard: I have
the Euro and pound sterling, but if you have only ASCII character that
could be difficult.  The pound (what I call pound, not what I call hash)
is 0xc2 0xa3 in UTF-8.  It ought to be possible to convince xterm into
inserting it with some translations trickery:

XTerm*VT100.Translations: #override \
Shift <KeyPress> F9: string(0xc2) string(0xa3)

did the trick (I tried that under Linux where I know the pound sign
works).

> I can confirm that simply with --enable-multibyte, it does *not* work.  In
> particular, attempting to use insert-composed-char, I get
> 
>     insert-composed-char:1: cannot do charset conversion

Yes, this is the langinfo.h problem.  I think this is fixed by the patch
in zsh-workers/22085.

-- 
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page still at http://www.pwstephenson.fsnet.co.uk/


  parent reply	other threads:[~2006-01-07 13:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-06 11:33 Peter Stephenson
2006-01-07  2:45 ` Danek Duvall
2006-01-07  8:04   ` Danek Duvall
2006-01-07 13:22   ` Peter Stephenson [this message]
2006-01-07 16:44     ` Danek Duvall
2006-02-03 15:46 PATCH: _hosts Peter Stephenson
2006-02-03 19:45 ` Danek Duvall
2006-02-03 22:40   ` Peter Stephenson
2006-02-03 22:48     ` Danek Duvall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200601071322.k07DMBV4003670@pwslaptop.csr.com \
    --to=p.w.stephenson@ntlworld.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).