Boost logo

Boost :

Subject: Re: [boost] [C++0x] Emulate C++0x char16_t, char32_t, std::u16string, and std::u32string
From: Joshua Boyce (raptorfactor_at_[hidden])
Date: 2011-07-20 20:23:53


On Thu, Jul 21, 2011 at 8:12 AM, Artyom Beilis <artyomtnk_at_[hidden]> wrote:

>
> You want to make boost.filesystem better? Make it use UTF-8 on Windows
> by default and drop all "wide-crap" (sorry windows users).
>
> All operating systems around (with one exception) use char * API and
> one operating system uses utf-16/wchar_t API.
>
> So adding arbitrary character that no operating system uses seems
> to be waste of effort.
>
> I **personally** don't see any benefit in adding char16_t/char32_t
> emulation
> to the Boost and specialty to the Boost.Filesystem.
>
> Today Boost.Filesystem has enough problems besides char16_t/char32_t.
>
>
> Artyom Beilis
> --------------
> CppCMS - C++ Web Framework: http://cppcms.sf.net/
> CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>

I think it's a bit of a stretch to say that 'no operating system' uses wide
characters/strings. Sure, it's only one OS, but it's not like it's some
obscure platform that very few people use. Windows is a massive target, and
it needs to be given first-rate support, regardless of whether it's
annoying/wasteful in terms of implementation.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk