- Olan Knight
- PowerBuilder
- Tuesday, 22 May 2018 07:13 PM UTC
PB v12.1, build 7055
Windows 7, 64 bit platform
Oracle 12C
UPDATE - 23-MAY-2018
Kim, Chris, and John - thank you for your suggestion and your time!
I've learned that the issue is intermittent and it appears that it has something to do with the way the data is being handled; we're moving the data servers and the data from one location to another. I've been told to hold off until the move is complete, and we MAY pick this back up if the issue recurs.
Thank you all again!
--------------------------------------------------------------------------------------------------------------------------------------
UPDATE - 22-MAY-2018
I've researched this on the web with no luck yet.
I have also tried duplicating the problem by specifically adding the ENCODING options to the FileOpen command, one at a time.
· EncodingANSI! (default)· EncodingUTF8!· EncodingUTF16LE!· EncodingUTF16BE!
The output was identical in each case. As expected, the two UTF16 output files used double the disc space of the UTF8 and the ANSI options. These four extract files are attached.
--------------------------------------------------------------------------------------------------------------------------------------
The code we've been using for years to write a text file is suddenly generating a space between each output character.
We are getting "S E C A B 1 5 " instead of "SECAB 15".
The command is: ll_Write = FileWriteEx( ii_FileWrite, is_Mech )
I suspect that the platform itself is setting the ASCII character set, and is using ASCII 16 instead of ASCII 8.
However, I've no idea if this is the issue or not.
If it is the issue, how do I get my standard text output back?
Thank You,
Olan
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.