Display, graphic, or printable characters? Lassi Kortela (11 Nov 2019 13:34 UTC)
Re: Display, graphic, or printable characters? John Cowan (11 Nov 2019 21:57 UTC)
Re: Display, graphic, or printable characters? Lassi Kortela (11 Nov 2019 22:07 UTC)
(missing)
(missing)
(missing)
Re: Display, graphic, or printable characters? Lassi Kortela (12 Nov 2019 11:53 UTC)
Re: Display, graphic, or printable characters? John Cowan (12 Nov 2019 17:13 UTC)
Re: Display, graphic, or printable characters? Lassi Kortela (18 Nov 2019 19:46 UTC)
Re: Display, graphic, or printable characters? Lassi Kortela (22 Nov 2019 12:56 UTC)
Re: Display, graphic, or printable characters? Lassi Kortela (22 Nov 2019 13:18 UTC)
Re: Display, graphic, or printable characters? Lassi Kortela (22 Nov 2019 13:20 UTC)
Re: Display, graphic, or printable characters? Lassi Kortela (11 Nov 2019 23:34 UTC)

Display, graphic, or printable characters? Lassi Kortela 11 Nov 2019 13:34 UTC

The current SRFI 175 draft gives the procedures:

* (ascii-display? char)
* (ascii-control->display char)
* (ascii-display->control char)

A possibly more standard term for "display character" is "printable
character". An even more widely used term is "graphic character".
Display character is a term I invented to match Scheme's standard
`display` procedure.

IIRC there may be a subtle distinction between "graphic" and "printable"
characters (one of those sets contains one or more whitespace
characters, whereas the other does not?)

Which term should we use for SRFI 175? Is similar terminology planned to
go into R7RS-large Unicode procedure names?

The precise definition of `ascii-display?` is also up for debate.
Currently space is counted as a displayable character since that's the
most widely used interpretation as far as I can tell. It also makes it
simple to do something like: (when (string-every ascii-display? s)
(display s))