Boost logo

Boost :

Subject: Re: [boost] [spirit2] How to get encoding-specific parsers by character type
From: David Abrahams (dave_at_[hidden])
Date: 2010-06-11 21:04:55


At Sat, 12 Jun 2010 01:13:58 +0400,
Andrey Semashev wrote:
>
> Can't we be sure that e.g. char16_t is UTF-16, char is the
> standard narrow and wchar_t is the standard wide encoding?

Actually, IIUC char16_t is used for UCS-2, which is just like UTF-16
except there are no surrogate pairs.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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