I have an application where I am querying a modem over a tcp socket. I can receive the data from the modem as expected into my char[1024] buffer but am having trouble then converting it to a tstring.

I am seeing some extra characters returning now (after a firmware upgrade) that I suspect are multi-byte characters which then screwup my checking routines.

Here is what I am doing currently

retString =...