String conversion procedures Wolfgang Corcoran-Mathe (04 Aug 2026 17:15 UTC)
Re: String conversion procedures Per Bothner (04 Aug 2026 18:04 UTC)
Re: String conversion procedures Wolfgang Corcoran-Mathe (04 Aug 2026 21:09 UTC)
Re: String conversion procedures D Guthrie (04 Aug 2026 18:39 UTC)

Re: String conversion procedures Wolfgang Corcoran-Mathe 04 Aug 2026 21:09 UTC

On 2026-08-04 11:04 -0700, Per Bothner wrote:
> On 8/4/26 10:15, Wolfgang Corcoran-Mathe wrote:
> > I was also wondering about encoding.  Must the argument to
> > 'string->iri' be a UTF-8 string?  Similarly, should we expect
> > 'iri->string' to return a UTF-8 string?
>
> I believe the question is invalid: A "string" in R7RS is a
> "sequence of characters", not a sequence of bytes.

You're right, of course.  I was clearly confused when I wrote that.
No doubt I was thinking of 'bytevector->string' and forgot what I was
actually supposed to be writing about.

--
Wolfgang Corcoran-Mathe  <xxxxxx@sigwinch.xyz>