I am writing a C++ application which tries to get some information from a mail box using POP3 protocol. The information I am trying to get contains French characters, means accentuated characters like "é, ç, à". I need to store this information in a MySQL database. To display this information on the screen or in a file I get strange characters instead of the accentuated ones.
an example :
instead of getting: "Super U La Ferté Gaucher : Démarrage" I get "Super U La Fert=?iso-8859-1?B?6SBHYXVjaGVyIDogTlJ2aXNpb24gMjAxMy0xMSA6IETp?=marrage"
I can read from the generated information that my characters are coded in iso-8859-1, but I need them in UTF-8.
Is there any way to decode this information, or maybe some configuration that should be done to get the right result.
I don't want to use any non-standard libraries (only Microsoft tools).
Remarks: I am using Visual Studio 2010, Windows 8. My application is in two versions Console CLR and MFC.