zsh-workers
 help / color / mirror / code / Atom feed
From: "Matthias B." <msbREMOVE-THIS@winterdrache.de>
Cc: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: NUL must be a first class citizen   [was: Some groundwork for Unicode in Zle]
Date: Mon, 17 Jan 2005 11:59:14 +0100	[thread overview]
Message-ID: <20050117115914.62d777db@buddha.localdomain.de> (raw)
In-Reply-To: <20050115192836.D31B385AF@pwstephenson.fsnet.co.uk>

This is not directed at anyone in particular. I just want to remind
everyone working on this that ASCII NUL (i.e. the character with ASCII
code 0) is a valid (and very useful) character and must be a first-class
citizen that has to work everywhere you could use the letter "A"  (except
of course where restrictions beyond the scope of zsh forbid it, e.g. when
passing file names to system calls).

If 0-terminated wchar_t strings are to be used, then NUL has to be
remapped or escaped, so that it's not encoded as 0, just as it is done in
zsh currently.

The following has to keep working:

x=$(find . -print0)
# Process x in many useful ways

MSB

-- 
Modesty marks the wise.


  reply	other threads:[~2005-01-17 11:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-11 13:52 Some groundwork for Unicode in Zle Peter Stephenson
2005-01-11 13:59 ` Peter Stephenson
2005-01-11 15:11   ` DervishD
2005-01-14 13:10   ` Peter Stephenson
2005-01-15 17:35     ` Clint Adams
2005-01-15 19:28       ` Peter Stephenson
2005-01-17 10:59         ` Matthias B. [this message]
     [not found]           ` <msbREMOVE-THIS@winterdrache.de>
2005-01-17 11:19             ` NUL must be a first class citizen [was: Some groundwork for Unicode in Zle] Peter Stephenson
2005-01-11 14:51 ` Some groundwork for Unicode in Zle Oliver Kiddle
2005-01-11 14:54   ` Mads Martin Joergensen
2005-01-11 14:56     ` Mads Martin Joergensen
2005-01-11 15:30   ` Peter Stephenson
2005-01-11 16:31     ` Bart Schaefer
2005-01-11 15:09 ` DervishD
2005-01-11 16:27 ` Bart Schaefer
2005-01-11 16:35   ` Vin Shelton
2005-01-11 16:49   ` DervishD

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=20050117115914.62d777db@buddha.localdomain.de \
    --to=msbremove-this@winterdrache.de \
    --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).