- Jeong Dae Ryong
- PowerBuilder
- Tuesday, 23 January 2024 06:31 AM UTC
I'm migrating to PowerBuilder 2022.
This is a phrase I used previously.
blob ab_data
FileOpen(as_filename,StreamMode!,Write!,LockWrite!,Replace!,EncodingANSI!)
ls_body = 'aaaa'
ab_data = blob(ls_body,EncodingANSI!)
IF FileWriteEX(li_FileNum, ab_data) = -1 THEN
MessageBox("Error", "Write Error")
FileClose(li_FileNum)
return false
END IF
As above, with EncodingAnSi!
Define the format and create the file
There is no text in the file.
Encodingutf8! If you do this, the file will be created normally.
Why is the logic that worked well in 2019 not working?
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.