|
Boost : |
Subject: Re: [boost] [review] Review of Nowide (Unicode) starts today
From: Artyom Beilis (artyom.beilis_at_[hidden])
Date: 2017-06-12 14:54:58
On Mon, Jun 12, 2017 at 3:57 PM, Peter Dimov via Boost
<boost_at_[hidden]> wrote:
>> Documentation:
>> http://cppcms.com/files/nowide/html
>
>
> Question: what do the functions do (on Windows) when the passed UTF-8 is
> invalid? From a brief look at the documentation, I don't see this specified,
> but I may have missed it.
>
It is documented in reference documentation.
http://cppcms.com/files/nowide/html/namespaceboost_1_1nowide.html#a6644397c539754076b11e95c535be192
fopen/ifstream etc - would fail in usual way these functions fail -
fail to open file.
widen/narrow will return null or throw
boost::locale::conv::conversion_error depending on function.
Artyom
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk