[Cuis-dev] UnicodeString coercion

Juan Vuletich juan at cuis.st
Wed Jul 1 08:16:46 PDT 2026


Hi Phil,

On 2026-07-01 10:27 AM, Phil B via Cuis-dev wrote:
> Is there a reason UnicodeString asString returns self rather than a 
> String?
>
Yes. UnicodeStrings are conceptually Strings. Perhaps we'd rename String 
as ByteString, and CharacterSequence as String.

In any case, just use #asByteString that does what you want.

Cheers,

-- 
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich



More information about the Cuis-dev mailing list