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 2025: Register Today!

 

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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
  • 5769 views
  • 0 likes
  • 2 in conversation