﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
1835	Error in the utf8 egg's substring=?	siiky	siiky	"First found it using tab-completion in {{{csi}}}:

{{{
Error: (substring=?) out of range
3
0
3

	Call history:

	utf8-srfi-13.scm:374: proc
	utf8-srfi-13.scm:374: proc
	utf8-srfi-13.scm:374: proc
	utf8-srfi-13.scm:374: proc
	utf8-srfi-13.scm:374: proc
	utf8-srfi-13.scm:374: proc
	utf8-srfi-13.scm:374: proc
	utf8-srfi-13.scm:374: proc
	utf8-srfi-13.scm:374: proc
	utf8-srfi-13.scm:374: proc
	utf8-srfi-13.scm:374: proc
	utf8-srfi-13.scm:374: proc
	utf8-srfi-13.scm:374: proc
	utf8-srfi-13.scm:374: proc
	utf8-srfi-13.scm:374: proc
	utf8-srfi-13.scm:374: proc	  	<--
}}}

This is seen in the egg's tests as well: http://salmonella-linux-x86.call-cc.org/master/clang/linux/x86/2024/04/11/salmonella-report/test/utf8.html ({{{chicken-install}}}'s exit code is 0, I'm not seeing why -- there's a {{{test-begin}}} at the top and a {{{test-end}}} at the bottom -- though this is another problem):

{{{
(string-prefix? ""元麻布"" ""麻布十番"" 1) ........................ [ERROR]

Error: (substring=?) out of range
6
0
6
(string-prefix? ""元麻布"" ""麻"" 1 2) ............................... [ERROR]

Error: (substring=?) out of range
3
0
3
}}}

It's almost certain these errors are related to the recent changes made to {{{substring=?}}} and friends: https://code.call-cc.org/cgi-bin/gitweb.cgi?p=chicken-core.git;a=commit;h=0e97b648407d750f1e476e3c193e136126558346"	defect	reopened	major	someday	extensions	5.4.0		utf8		
