Summary
utf8 egg: Missing character type predicates
Metadata
- Id: 53434f341f96dade0946eda1d1643fbe60ef62d3
- Trac id: 1853
- Type: defect
- Reporter: zaifir
- Owner:
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty: easy
- Resolution: wontfix
- Priority: minor
- Milestone: someday
- Version: 5.4.0
- Changetime: 2026-07-14 22:09:17 UTC
- Created: 2025-07-07 16:58:15 UTC
- Keywords: unicode
Attachments
- 53434f341f96dade0946eda1d1643fbe60ef62d3/attachments/utf8.scm.diff
Description
The utf8 egg doesn't provide Unicode-aware versions of the R5RS character type predicates (`char-whitespace?`, etc.). The attached patch provides them; it is based on my updated version of the unicode-char-sets extension (see [[http://bugs.call-cc.org/ticket/1851]|]). It can easily be modified to work with other versions of the egg by simply replacing the multiple char-set imports with `(import (unicode-char-sets))`.
Changes and comments
[2025-07-07 16:58:36 UTC] zaifir attached utf8.scm.diff (description=Changes to utf8.scm (add character type predicates))
[2026-07-14 22:09:16 UTC] felix wrote:
See CHICKEN 6 for serious UTF-8 support.