Boost logo

Boost :

Subject: Re: [boost] [SQL-Connectivity] Is Boost interested in CppDB?
From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2010-12-14 07:07:48


On Tue, Dec 14, 2010 at 7:58 PM, Artyom <artyomtnk_at_[hidden]> wrote:
>>
>> Yes, but more specifically I should  have asked, does your library
>> natively support wide strings (std::wstring)  and handle the conversion
>> from std::wstring to the appropriate UTF-8 encoding  in narrow strings
>> API's or the native multi-byte string APIs of the  libraries?
>
> No, as you don't need "wide" strings to use Unicode and actually wide
> strings are not native ones for almost every database.
>

Okay. So that means people using std::wstring have to deal with
converting to UTF-8 encoded std::string on their own. Sounds like a
pain in Windows defaulted to use std::wstring in applications. :/

> So for working with Unicode in CppDB you should use UTF-8.
>

OK

-- 
Dean Michael Berris
deanberris.com

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