I am trying to use GetWindowTextW to get the text typed inside the main
window of an app created with the appwizard based on CRichEdit. I have
unicode support enabled but whenever I use GetWindowTextW I find that
characters which are from a different character set are returned as 3F (the
value of '?') instead of their proper value, all normal characters work fine
and each character is given two bytes as it should be. Why is it doing this
and how can I fix it.