Hi,
I am writing a windows CE application for Pocket PC 2002/3.
I have a wide string containing extended characters which I read from a text file.
If if output the string to another text file I get the following...
Which is fine.
However if I try and output it to an edit control the string looks corrupted from the first extended character. I basically end up with two strage chars for each extended char.
I have tried converting using a codepage and multibyteToWideStr() function but this made no differnce.
I am using the following code to display the text...
m_OutletName is a CString that is bound to the edit control
outlet_name is a std::string that contains the initial string to output to a text file in the correct way.
Does anyone have any idea of how to display extended chars in an Edit control.
Cheers in advance.
Kevin.
I am writing a windows CE application for Pocket PC 2002/3.
I have a wide string containing extended characters which I read from a text file.
If if output the string to another text file I get the following...
Code:
FSV AUTÓMODELLEZÕ EGYESÜLET
Which is fine.
However if I try and output it to an edit control the string looks corrupted from the first extended character. I basically end up with two strage chars for each extended char.
I have tried converting using a codepage and multibyteToWideStr() function but this made no differnce.
I am using the following code to display the text...
Code:
m_OutletName = outlet_name.c_str();
m_OutletName is a CString that is bound to the edit control
outlet_name is a std::string that contains the initial string to output to a text file in the correct way.
Does anyone have any idea of how to display extended chars in an Edit control.
Cheers in advance.
Kevin.