Subject: Re: [boost] [General] Always treat std::strings as UTF-8
From: Artyom (artyomtnk_at_[hidden])
Date: 2011-01-19 01:12:43


> From: Dave Abrahams <dave_at_[hidden]>
>
> On Tue, Jan 18, 2011 at 2:18 PM, Matus Chochlik <chochlik_at_[hidden]> wrote:
> >>> and creating a new string class/wrapper for UTF-8 that nobody uses,
> >>
> >> lol - well no one is going to use it until it exists.
> >
> > Is it necessary to explain that I did not mean it that way. What I meant
> > that we can hardly expect that everybody will adopt utf8_t when Boost
> > introduces it. As a consequence everybody will remain with std::string
> > and ANSI encodings.
>
> I think maybe you underestimate our influence. It won't be immediate,
> but I believe we *could* produce the new lingua franca and get it
> widely-adopted.
>

I think you little bit overestimate Boost power :-)

There are lots of "Unicode" strings:

- QString,
- gtkmm::ustring,
- icu::UnicodeString
- wxString

But finally the only 1 string exists anywhere - std::string.

So maybe just stick with and and just to work on how
we are using it.

Artyom