Reputation: 343
I am getting some return text and its all in Japanese text. Is there a setting somewhere that would do this?
For example
Procedure form1.rec...
Var
ReCBuf:array[0..9999] of char;
begin
button1.enabled := true;
If I stop it right there, and look at the array it is full of Japanese characters.
Upvotes: 0
Views: 96
Reputation: 612884
Local variables are not initialized by default. Your array contains arbitrary content. You must initialize ReCBuf
before reading from it.
Upvotes: 2