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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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