mirror of
https://github.com/langchain-ai/langchain-postgres.git
synced 2026-07-16 01:33:18 -04:00
PostgresChatMessageHistory is not working with UTF8 character #87
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Nhanvu1009 on GitHub (Aug 27, 2025).
i have a HumanMessages contain Vietnamese language. and i wana push it to history

but when i call history.add_messages([msg])
the error is postgres is not encoding UTF8
i think we need to control that column message can contain UTF8 or any others
@Nhanvu1009 commented on GitHub (Aug 27, 2025):
it's my fault. i created databse hot have encode UTF8