在 SAS 中导入波兰语字符文件 [英] Importing Polish character file in SAS
问题描述
我有一个带有波兰语字符的 csv,但是当我在 SAS 中导入时,某些波兰语字符被替换为?"或任何其他随机变量,我该如何处理.我有一个所有可能的波兰语字符的列表,我不介意它被它的英文对应物取代
I have a csv with polish characters in it but when I am importing in SAS , certain polish characters are being replaced by "?" or any other random variable , How do I handle this. I have a list of all the possible polish characters and I dont mind it being replaced by its english counterpart
推荐答案
您需要在 infile
语句中设置适当的文件编码,例如encoding="UTF-8"
.
You need to set the appropriate file encoding on your infile
statement, e.g. encoding="UTF-8"
.
SAS 文档 > http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000146932.htmhttp://support.sas.com/documentation/cdl/en/nlsref/61893/HTML/default/viewer.htm#a002610945.htm
这篇关于在 SAS 中导入波兰语字符文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!