This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] utf-16 and utf-32 support in C and C++


Kris Van Hees wrote:
The proposals do not exclude the implementation of additional rules
for concatenation.  This implementation also provides for the following
valid concatenations.  The rationale behind this choice is that the
concatenation of strings shall result in a string with the highest width,
according to the ascending order: char - char16_t - char32_t - wchar.

It is inappropriate to assume that wchar_t will always be at least as wide as char32_t; several targets have 16-bit wchar_t.


Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]