[SG16-Unicode] Replacement for codecvt

Lyberta lyberta at lyberta.net
Mon Sep 2 12:06:00 CEST 2019


Corentin Jabot:
> The real problem is system apis (both posix and win32 and all existing C
> code) - null termination in C++ exist for compatibility with that and it
> seems unlikely that we would manage to convince win32 or posix people
> to add (pointer size) functions everywhere - it's a lot of functions

I think this is the only way forward.

Take char8_t* + size_t or make a struct with those fields, that's the
only sane way for C.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://www.open-std.org/pipermail/unicode/attachments/20190902/b4d1ecce/attachment.bin 


More information about the Unicode mailing list