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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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