BookmarkSubscribeRSS Feed
kaziumair
Quartz | Level 8

Hi ,

I am trying to append data from a SAS table to an external postgres table using the append procedure.

However while running the proc, I am getting the error "ERROR: CLI execute error: Error: invalid byte sequence for encoding "UTF8": 0xe2 0x2c 0x55"

 

Any idea how I can resolve this error?

 

Thanks and Regards,

Mohammad Umair Kazi

2 REPLIES 2
LinusH
Tourmaline | Level 20

My first guess would be that you try to ingest UTF8 data in a non UTF8 DB.

Check your database what encoding it uses (and compare with your SAS encoding).

Data never sleeps
kaziumair
Quartz | Level 8

Hi ,

I have checked the encoding it is UTF8.

 

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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