Home > Software engineering >  Mashed-up emojis stored in a Postgres database not returned as single emoji using Python 3.9 with ps
Mashed-up emojis stored in a Postgres database not returned as single emoji using Python 3.9 with ps

Time:01-13

I am reading text containing emojis from a Postgres 13 database. Turns out that my Python/psycopg query does not decode/return the text as I would expect.

Via Postgres psql client

  • Within postgres:13 container

    select description from profile WHERE id = 123

Result is as expected!

           
  •  Tags:  
  • Related