Support UNICODE encoding as psycopg3 do not support it by default.

pull/6466/head
Khushboo Vashi 2023-06-21 15:32:13 +05:30
parent 7c6e83c6fe
commit 1184752540
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,9 @@ encode_dict = {
# EUC_TW Not availble in Python, # EUC_TW Not availble in Python,
# so psycopg3 do not support it, we are on our own # so psycopg3 do not support it, we are on our own
'EUC_TW': ['BIG5', 'big5'], 'EUC_TW': ['BIG5', 'big5'],
'EUCTW': ['BIG5', 'big5'] 'EUCTW': ['BIG5', 'big5'],
# psycopg3 do not support unicode
'UNICODE': ['utf-8', 'utf-8']
} }