<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" color="#232323"><span class="Apple-style-span" style="font-size: 12px; "><div><font class="Apple-style-span" color="#232323"><span class="Apple-style-span" style="font-size: 12px; ">Hi everyone,</span></font></div></span></font><span class="Apple-style-span" style="color: rgb(35, 35, 35); font-size: 12px; "><div><span class="Apple-style-span" style="color: rgb(35, 35, 35); font-size: 12px; ">I wonder how nif's handle UTF8/16 and size from the C code of einf_inspect_io_list_as_binary does not seem to handle the length correctly from what I can tell but I don't really have a overview all the functions called. I wonder if I am just missing something here so can anyone with experience give me a hint where to keep digging or if my feeling is right?</span></div><div><span class="Apple-style-span" style="color: rgb(35, 35, 35); font-size: 12px; "><br></span></div><div><span class="Apple-style-span" style="color: rgb(35, 35, 35); font-size: 12px; ">PS: if my feeling is right I would suggest that perhaps it is good to add something like return the kind of string returned, utf8/16 or plain string and the correct length.</span></div><div><span class="Apple-style-span" style="color: rgb(35, 35, 35); font-size: 12px; "><br></span></div><div><span class="Apple-style-span" style="color: rgb(35, 35, 35); font-size: 12px; ">Regards and thanks in advance,</span></div><div><span class="Apple-style-span" style="color: rgb(35, 35, 35); font-size: 12px; ">Heinz</span></div> </span><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">--<br>Heinz N. Gies<br><a href="mailto:heinz@licenser.net">heinz@licenser.net</a><br>http://licenser.net</span>
</div>
<br></body></html>