zsh-users
 help / color / mirror / code / Atom feed
From: Wolfgang Hukriede <whukriede@ifm.uni-kiel.de>
To: zsh-users@math.gatech.edu
Subject: Re: German Umlauts still dont work
Date: Fri, 4 Jul 1997 05:39:35 +0200 (MET DST)	[thread overview]
Message-ID: <199707040339.FAA12150@sally.ifm.uni-kiel.de> (raw)

Uli Zappe wrote:
> From a NEXTSTEP point of view, it is certainly preferable to make
> use of the correct NXIsPrint (or NXIsCntrl) function instead of
> permitting *all* 8 bit characters via a printeightbit option.

> Maybe it's possible to make this configurable so that for every
> operating system one can choose whatever way is best for it to
> decide what is printable?

Still nope.

Yet one more scenario to consider: What if you're engaging the other well
known terminal emulator application on the Next, then switch on
Latin1-encoding for that app, (which I believe is quite common among
nextians with a heterogenous networking environment), would you then be
willing to compile a second version of the zsh? Don't think so.

Now, just in case, someone cares, from the Next-docs:

 > The NEXTSTEP encoding vector is a superset of the PostScript language
 > standard encoding vector. (Adobe's, that is; cf the red book. WH)
 > The characters that have code assignments in the standard encoding vector
 > have the same assignments in the NEXTSTEP encoding vector.  The NEXTSTEP
 > encoding vector makes use of the code points that are unassigned in the
 > standard vector to add characters from the ISOLatin1 character set.

Accordingly:

        NXIsPrint(c) == c>=040 && c<=0176 || c>=0201 && c<=0375

(which even is a bit wrong, since 0200 is figsp, which should be printable.
the last two codes, 0376 and 0377, are unassigned.)

whereas:

        isprint(c) == c>=040 && c<=0176

on any of the systems I checked. Fwiw, on neither of them (OSF3.2, SunOs
4.1.3, Linux 2.0.27, for Nextstep we knew this) the behaviour of isprint()
or iscntrl() obeyes to the locale settings, someone might say, these
machines all lack proper setup?

Wolfgang.


             reply	other threads:[~1997-07-04  3:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-04  3:39 Wolfgang Hukriede [this message]
1997-07-08 13:23 ` Uli Zappe
1997-07-04 12:16 Duncan Sinclair
1997-07-08 13:32 ` Uli Zappe

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=199707040339.FAA12150@sally.ifm.uni-kiel.de \
    --to=whukriede@ifm.uni-kiel.de \
    --cc=zsh-users@math.gatech.edu \
    /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).