Boost logo

Boost :

From: Alexei Alexandrov (alexei.alexandrov_at_[hidden])
Date: 2008-01-28 15:17:53


Jens Seidel wrote:
>
> There is simple no need for wchar_t on Linux. If you use a classical
> encoding in your filesystem it is a 8bit one (except you use a Asian
> language such as Japanese). All modern distributions switched already
> to UTF-8 as default encoding and for this you don't need wchar_t as
> well. Use ordinary char* streams for this ...
>
> Remember that you know for UTF-8 always where the current character
> stops if you just have a pointer to an arbritary byte (in the middle of
> a multi-byte character). It's also useless to group bytes pairwise as a
> valid UTF-8 character can consist of more than two bytes. char* is
> really sufficent.
>

This is more of a design choices discussion. As for Boost, it has wpath
in its interfaces on Linux so the support is claimed. We made a design
choices to use wchar_t cross-platform since the code is Windows/Linux.
This is why I want to get it working.

-- 
Alexei Alexandrov

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