pallets-eco / flask-session

Server side session extension for Flask
https://flask-session.readthedocs.io
BSD 3-Clause "New" or "Revised" License
501 stars 239 forks source link

unicode problem in sqlalchemy interface #43

Closed hzerdia closed 8 years ago

hzerdia commented 8 years ago

I have a problem when I try to store some unicode data with the sqlalchemy interface.

This the error I had. DataError: (psycopg2.DataError) invalid byte sequence for encoding "UTF8"

I think the type of the column data should be changed to LargeBinary

talhasch commented 8 years ago

i had same problem. i changed data field column type to BYTEA and fixed.