Support UNICODE encoding as psycopg3 do not support it by default.
parent
7c6e83c6fe
commit
1184752540
|
@ -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']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue