|
Boost : |
Subject: Re: [boost] [General] Always treat std::strings as UTF-8
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-01-14 17:05:48
John B. Turpish wrote:
> By the way, I disagree with Peter's assessment that, "you rarely, if ever,
> need to access the Nth character," but I will gladly cede that this
> depends on your problem domain.
It obviously depends on the problem domain :-) but, when talking about
Unicode, you can't reliably access the Nth character, in general, even with
UCS-32. (As far as I know.)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk