Boost logo

Boost :

From: gchen (chengang31_at_[hidden])
Date: 2007-05-02 06:03:02


Atry wrote:
> For example, Boost.Regex use some characters with 128-255 ansi code in
> source file, and msvc will convert them to Unicode using default
> codepage. If the default codepage is an multi-bytes charset, that
> convertion would truncate some of string declaration.
>
> For Unicode string, sometimes it would not raise an error on compile
> time, but it does the worse thing. L"aa?aa" has different means for
> different codepages, and L"\xAB\x9A" does not.

But, is this the problem in your code? In other words, do you have the
problem if you save your file in unicode format?

>
> I think all file in boost should only contains 0-127 ansi code, and any
> other characters need for string or char declaration should use \x instead.
>

This looks like a little difficult to me, some author's names have
ascii code > 127. Anyway, it is not a problem if such codes appear
only in comments.


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