Add support for C++ Unicode types#379
Conversation
|
Hey hello @dougnazar, |
|
@dougnazar what about char32_t and u32string? I'm using it al lot in asian language tools. Are you planning to create new PR with it or I'll do it instead when all your commits will be merged. |
|
Unfortunately SQLite doesn't natively support UTF-32, so there is no API to pass through to. They've recently added I'm not sure that SQLiteC++ is the correct layer to handle the conversion. It would add a hidden performance cost for using that API. |
I agree, will stick to external 32-16 conversion until it's natively supported. Thank you for your enhancements! |
Support for char16_t, u16string & u16string_view. Support for char8_t, u8string & u8string_view. Support for wchar_t, wstring & wstring_view (on 2-byte platforms).
Support for char16_t, u16string & u16string_view. Support for char8_t, u8string & u8string_view. Support for wchar_t, wstring & wstring_view (on 2-byte platforms).
Support for char16_t, u16string & u16string_view. Support for char8_t, u8string & u8string_view. Support for wchar_t, wstring & wstring_view (on 2-byte platforms).
Add support for using char8_t, char16_t, wchar_t, u8string, u16string & wstring when available.
wchar_t & wstring support are only available on platforms with a 2 byte wchar_t.
Usable to create Statements, bind parameters and retrieve column data.
The first commit is a fix for when the native database is in UTF-16 format and you try to extract a std::string.