On 2025-09-15 19:04, Jonathan Yong wrote:
On 9/15/25 4:33 PM, Peter0x44 wrote:
Thanks for the patch.
I notice that libcpp/charset.cc defines a function convert_utf8_utf16
(albeit currently static). Is there a way that this could be reused,
rather than adding a 2nd implementation?
From what I can tell, it calls libiconv, which can't be assumed to be
present.
So despite not being ideal, it's necessary to reimplement it. It is
also not that much code, not the worst thing.
Can it be renamed to avoid link time optimization issues?
Thanks.
It's static. What link time optimization issues are you talking about?