I am currently working in SQR process, and had encountered an issue during file processing as it results to error due to special character, slanted apostrophe ('). It is a flat file saved as UTF-8 . I tried changing it as ANSI and worked well, but how do I make my code work without changing the encoding?
On your open statement, try adding:
ENCODING=UTF-8
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.