SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
Billybob73
Quartz | Level 8

Hi,

I' m trying to run below code but it gives me this error. What can I do to circumvent this ? :

 

Error: Integration technologies failed to submit the code. [Error] Failed to transcode data from U_UTF8_CE to U_LATIN1_CE encoding because it contained characters which are not supported by your SAS session encoding. Please review your encoding= and locale= SAS system options to ensure that they can accommodate the data that you want to process. A portion of the source string, in hex representation is:

 

data names;
length first_name $15 last_name $30 ;
input first_name $ last_name $;
infile datalines delimiter='|' encoding='wlatin1';
datalines;
Bjørnsen | MØLLER
Marius | Malazinskas'
čárkou | íois
měkké | čárkou
;
run;

1 REPLY 1
CarmineVerrell
SAS Employee

I can't get your code to work, nor can i get the same error.

 

I removed the encoding portion and now its working.

 

data names;
length first_name $15 last_name $30 ;
input first_name $ last_name $;
infile datalines delimiter='|' ;
datalines;
Bjørnsen | MØLLER
Marius | Malazinskas'
čárkou | íois
měkké | čárkou
;
run;

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 6309 views
  • 0 likes
  • 2 in conversation