<URL: https://rt.cpan.org/Ticket/Display.html?id=76824 > On Uto Okt 18 15:44:49 2016, khw wrote: > Note that > > slen = tlen - sdone I do not think this is truth. slen is always modified by do_encode() before utf8n_to_uvuni() call. And do_encode() set it to number of processed bytes.in that one do_encode() call. Not to tlen - sdone. > so pali's solution > > (tlen-sdone-slen) > > can be rewritten as > > tlen - sdone - (tlen -sdone) == 0Thread Previous | Thread Next