Importing Polish character file in SAS

2020-04-10 02:51发布

问题:

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

回答1:

You need to set the appropriate file encoding on your infile statement, e.g. encoding="UTF-8".

SAS Documentation > http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000146932.htm http://support.sas.com/documentation/cdl/en/nlsref/61893/HTML/default/viewer.htm#a002610945.htm



标签: sas