BookmarkSubscribeRSS Feed
Ani7
Obsidian | Level 7

I am trying to import a file that returns the following WARNING on import:
WARNING: Some character data was lost during transcoding in column: var16 at obs 234.

 

I have tried encoding as utf-8, utf-16, and utf-32 to have this warning disappear to no avail. Is there a way to only suppress this transcoding warning? The character that is causing this issue is: 

Unicode Character “╕” (U+2555)
2 REPLIES 2
sbxkoenk
SAS Super FREQ

Hello,

Some procedures do offer options to suppress warnings (for that particular procedure or procedure statement / option),

but no general option is available to eliminate warning messages!

Koen

ballardw
Super User

Do you want to suppress the warning or actually have the character in the data?

 

You should show the code you attempted and the log when using the UTF options that did not successfully import the character as that would be the approach to read the data. Depending on your actual code you may have placed the option in the wrong place. We would have to see the actual code the log to make better suggestions.

Copy the LOG with all of the notes, warning and/or errors from the attempts and paste them into a text box opened on the forum with the </> icon that appears above the message windows. The text box is important to maintain formatting of any diagnostic messages that SAS might include in the log.

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 2 replies
  • 1121 views
  • 1 like
  • 3 in conversation