|
Boost : |
Subject: Re: [boost] [general] What will string handling in C++ look like in the future [was Always treat ... ]
From: Yakov Galka (ybungalobill_at_[hidden])
Date: 2011-01-19 14:20:44
On Wed, Jan 19, 2011 at 18:33, Peter Dimov <pdimov_at_[hidden]> wrote:
> This was the prevailing thinking once. First this number of bits was 16,
> which incorrect assumption claimed Microsoft and Java as victims, then it
> became 21 (or 22?). Eventually, people realized that this will never happen
> even if we allocate 32 bits per character, so here we are.
This is one more advantage of UTF-8 over UTF-16 and UTF-32. UTF-8 bit
patterns can be extended indefinitely, even for 256 bit code-points. :-)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk