In our application, we are reading the XML data stored as WCHAR in MSSQL db and converting it back to char* using WideCharToMultiByte with codepage CP_UTF8. But we are getting the results in double bytes for some characters like below,
0xFA - xC3BA
0xF9 - xC3B9
0xF8 - xC3B8
When we pass [ ‘ú’ ] in the db then also while reading from the MSSQL database are currently interpreted as below,
C3BA 'ú’
C3B9 'ù'
C3B8 'ø'
Is there any way to get the result from DB in single bytes like 0xff instead of xC3BF ?