Boost logo

Boost :

Subject: Re: [boost] Boost.Locale 'Status'?
From: Artyom Beilis (artyomtnk_at_[hidden])
Date: 2011-07-26 16:42:34


This is seems to be really strange...

looks like iconv does not support too much encodings...

Would you be so kind and give me the output of
this program?

#include <iconv.h>
#include <iostream>

void check_one(char const *to,char const *from)
        iconv_t d=iconv_open(to,from);
        if(d!=(iconv_t)(-1)) {
                std::cout << from <<"->" << to << " ok" << std::endl;
        else {
                std::cout << from <<"->" << to << " fail" << std::endl;

void check(char const *n)

int main()

You need to link it with iconv "-liconv"



--- On Tue, 7/26/11, Lars Viklund <zao_at_[hidden]> wrote:

> From: Lars Viklund <zao_at_[hidden]>
> [snip]
> The commit seems to fix the compilation of libboost_locale,
> but the
> results of the tests seem somewhat depressing. A test log
> follows after
> this list of available locales as per 'locale -a':
> [snip]

Boost list run by bdawes at, gregod at, cpdaniel at, john at