Segfault-Inc / Multicorn

Data Access Library
https://multicorn.org/
PostgreSQL License
699 stars 145 forks source link

IMAP wrapper: Unicode issue #220

Open seonghobae opened 5 years ago

seonghobae commented 5 years ago

Hello all, I have a trouble to search the content using IMAP wrapper, so that I report this.

postgres=# SELECT count(*) FROM ksiop_inbox where "Subject" like '%반송%';
ERROR:  Error in python: UnicodeEncodeError
DETAIL:  'ascii' codec can't encode characters in position 48-49: ordinal not in range(128)
postgres=# SELECT count(*) FROM ksiop_inbox where "Subject" like '%Return%';
 count 
-------
   214
(1 row)

Best, Seongho