简体   繁体   English

由于特殊字符,无法在 SQR 进程中处理文件

[英]Unable to process file in SQR process due to special character

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 (').我目前在 SQR 过程中工作,并且在文件处理过程中遇到了一个问题,因为它由于特殊字符、倾斜撇号 (') 而导致错误。 It is a flat file saved as UTF-8 .它是一个平面文件,另存为UTF-8 I tried changing it as ANSI and worked well, but how do I make my code work without changing the encoding?我尝试将其更改为ANSI并且运行良好,但是如何在不更改编码的情况下使我的代码工作?

On your open statement, try adding:在您的公开声明中,尝试添加:

ENCODING=UTF-8

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM