I have an error during opening and attempting to convert a text file from utf8 to Unicode.
here is my code :
Code: Select all
command = pmBasesDir + wxFILE_SEP_PATH + selectedBase + wxT( ".ged" );
wxTextFile base;
if ( base.Open( command, wxMBConvUTF8() ) )
{
...
}
When I open it with the wxMBConvUTF8, I get this message :
if someone can help me, thanks per advance.Failed to convert file "/home/patrick/gw-7.00-alpha-linux/bases/givry.ged" to unicode
I currently work with wxWidgets 3.0.3, C++ and wxSqlite3.
Patrick.
ASUS K73SV - Intel Core i7-2630QM CPU @ 2.00GHz × 8 - Ram 4 Gb - HDD 320+500 Gb
Multi-Boot : Ubuntu 16.04 LTS 64 bits - Ubuntu 14.04 LTS 64 bits
VirtualBox : Windows XP SP3 32 bits - Windows 7 premium 64 bits