Does anyone know how to get text from a text box with out it displaying odd symbols with chars?

Thanks


I need to get the text but everything online keeps telling me to use GetWindowText which needs a char which ends up with odd symbols in it such as a smiley face and stuff.

I need to get the text as a string not a char.

Thanks again