Here is what I know:
UTF-8is a variable-length character encoding standard used for electronic communication.
(https://en.wikipedia.org/wiki/UTF-8)- Likewise,
UTF-16is a variable-length character encoding.
Here is what I wonder:
- Are
char8_tandchar16_tinC++are dynamic in size too (to fit in the generic behaviour ofUTF-8andUTF-16) ? - Will it ever happen that when I assign it a "special" value, it will automatically expand its own size to match?
>Solution :
char8_t and char16_t are dynamic in size?
No.
Are char8_t and char16_t in C++ are dynamic in size too (to fit in the generic behaviour of UTF-8 and UTF-16) ?
No.
Will it ever happen that when I assign it a "special" value, it will automatically expand its own size to match?
No.