Setfile not UNICODE
Posted: January 28th, 2021, 9:47 am
Hello,
I am creating files that have to be transmitted to a server (could be FTP or Dropbox), found that the files created, includes in the first record, 3 special characters (UNICODE), I need to generate those files without the special characters, is it possible to advice the app not to include those characters?
Example:
file tempfile;
setfile(tempfile,"external.txt",create);
filewrite(tempfile,"text data");
close(tempfile);
IF you see the data it has
text data
When I see the file with a NO unicode editor, I see those characters, it is fine if the destination recognize unicode, however the destination is not a unicode application, and receives those characters as part of the data.
Thanks
Mario
I am creating files that have to be transmitted to a server (could be FTP or Dropbox), found that the files created, includes in the first record, 3 special characters (UNICODE), I need to generate those files without the special characters, is it possible to advice the app not to include those characters?
Example:
file tempfile;
setfile(tempfile,"external.txt",create);
filewrite(tempfile,"text data");
close(tempfile);
IF you see the data it has
text data
When I see the file with a NO unicode editor, I see those characters, it is fine if the destination recognize unicode, however the destination is not a unicode application, and receives those characters as part of the data.
Thanks
Mario