> Actualy (maybe I wrong) but it leads to the same result in that case
> that using `reinterpret_cast<const char *>`
> 
> my problem about doing that is I don't know if it's safe...
> I mean, should I not get some mess with some char code
> (UTF8)?
> 

You could create a new unsigned string type

typedef std::basic_string <unsigned char> ustring;

ustring s = sqlite3_column_text(......);

Maybe that would do what you want and preserve any
odd UTF8 characters.

Regards

Andy Ling
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by 
Mimecast.
For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------

Reply via email to