Boost logo

Boost :

Subject: Re: [boost] [Locale] Link errors
From: Artyom (artyomtnk_at_[hidden])
Date: 2010-09-20 10:36:37


>
> > However I had noticed that several tests fail with the combination
> > of "-DDISABLE_ICU=ON -DDISABLE_STD_BACKEND=ON" under Windows.
> >
> > I'm going to check this.
>
> I noticed this but assumed it was due to the limited localisation
> capabilities of Win32 v ICU. I think the same thing happened with
> "-DDISABLE_ICU=ON -DDISABLE_WINAPI_BACKEND=ON".
>
> Alex
>

Even if the capabilities are limited the tests should not fail
as they test capabilities of each backend separately.

The major issue is actually very inconsistent behavior
of MultiByteToWideChar when illegal codepoints are present,
if Boost.Locale is linked with ICU or iconv it would prefer
to use them on MultiByteToWideChar that is quite badly designed (IMHO).

Actually I fixed this in SVN for Cygwin but still need to check this
on MSVC.

Artyom

      


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