|
Boost : |
Subject: Re: [boost] [gsoc] Request Feedback for Boost.Ustr Unicode String Adapter
From: Artyom Beilis (artyomtnk_at_[hidden])
Date: 2011-08-11 07:57:40
> From: Daniel James <dnljms_at_[hidden]>
> Subject: Re: [boost] [gsoc] Request Feedback for Boost.Ustr Unicode String Adapter
>
> On 11 August 2011 12:03, Artyom Beilis <artyomtnk_at_[hidden]> wrote:
>>
>> The problem is policy the problem is Boost just can't decide once
>> and forever that std::string is UTF-8...
>
> Even if there was a consensus within boost, that isn't feasible. We
> don't own std::string, so we don't have a say in what it represents.
std::string represents a sequence of "char" objects that happens
to be useful for text processing. It can represent a text in any
encoding.
The question is how we treat this sequence... And this is a
matter of policy and requirements of the library.
> There's a lot of existing code which is not based on that assumption -
> we can't just wish it out of existence and boost should be compatible
> with it.
Then cross platform, Unicode aware programming will always
(I'm sorry) suck with Boost :-)
Thats it...
Artyom Beilis
--------------
CppCMS - C++ Web Framework: http://cppcms.sf.net/
CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk