Are you using DBCS or MBCS. You might try KCOMPRESS to resolve issue.
@ProcWes wrote:
I run this block before I send data to GCP but for some reason, it is adding weird characters to my strings that aren't there before the compress.
array Chars[*] _character_;
do i = 1 to dim(Chars);
Chars[i] = compress(Chars[i],,'kw');
end;
drop i;
array Nums[*] _numeric_;
do i = 1 to dim(Nums);
Nums[i] = round(Nums[i],0.01);
end;
drop i;
These weird characters, the @ etc. Is there a better way to go about this? Where are these coming from??
... View more