Hello Bruno!

Bruno Haible <br...@clisp.org> writes:

> Ludovic Courtès wrote in
> <http://lists.gnu.org/archive/html/bug-libunistring/2010-07/msg00003.html>:
>> In the example below, conversion from UTF-8 to UCS-4 succeeds but
>> ‘u32_conv_from_encoding’ allocates memory on the heap although the
>> supplied buffer appears to be large enough:
>
> I'm applying this fix in gnulib. The fix will be contained in the next
> libunistring release.

Cool, thanks!

Can you also comment on this:

> BTW, it’s unclear to me from the manual whether RESULT_LEN above should
> be the size in bytes or the size in uint32_t.

Ludo’.

Reply via email to