The corba server reads data from mysql where the data (string) is in utf-8. my client is java based and thats why I must use wstring in my server part. How to convert the data from utf-8 byte array to wstring? I tried with mbstowcs but with no luck.