> sprintf(str,"%s%c",str,isciistream[i]);
1. Almost all C library functions have undefined behaviour when the source and destination overlap. You're reading from the string you're printing into.
2. QString temp=str;
> const char *foo = temp.ascii();
If you print out the bytes of str before this, are they OK?
Perhaps QString defaults to a wide char on F8
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Offline 7,164 posts
since Dec 2005