Boost logo

Boost :

Subject: Re: [boost] Boost.Locale 'Status'?
From: Lars Viklund (zao_at_[hidden])
Date: 2011-07-26 16:49:19


On Tue, Jul 26, 2011 at 01:42:34PM -0700, Artyom Beilis wrote:
> Thanks...
>
> 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?

∫ ./7472
UTF-8->us-ascii fail
UTF-8->utf-8 ok
UTF-8->UTF-8 ok
UTF-16->us-ascii fail
UTF-16->utf-8 fail
UTF-16->UTF-16 ok
UTF-32->us-ascii fail
UTF-32->utf-8 fail
UTF-32->UTF-32 fail
WCHAR_T->us-ascii fail
WCHAR_T->utf-8 fail
WCHAR_T->WCHAR_T fail
UTF-16LE->us-ascii fail
UTF-16LE->utf-8 fail
UTF-16LE->UTF-16LE fail
UTF-16BE->us-ascii fail
UTF-16BE->utf-8 fail
UTF-16BE->UTF-16BE fail
UTF-32LE->us-ascii fail
UTF-32LE->utf-8 fail
UTF-32LE->UTF-32LE fail
UTF-32BE->us-ascii fail
UTF-32BE->utf-8 fail
UTF-32BE->UTF-32BE fail
ISO-8859-1->us-ascii fail
ISO-8859-1->utf-8 ok
ISO-8859-1->ISO-8859-1 ok
ISO-8859-8->us-ascii fail
ISO-8859-8->utf-8 ok
ISO-8859-8->ISO-8859-8 ok
windows-1255->us-ascii fail
windows-1255->utf-8 fail
windows-1255->windows-1255 fail
Shift-JIS->us-ascii fail
Shift-JIS->utf-8 fail
Shift-JIS->Shift-JIS fail

-- 
Lars Viklund | zao_at_[hidden]

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