How to set encoding for string being sent/returned by devart ASE ODBC driver
Posted: Mon 28 Nov 2016 01:53
How to set the encoding for strings being sent/returned by devart ASE ODBC driver
eg from python, I send this unicode string
u'Update Prost_Consent set ConsentRefused_ActionedBy = \\'∆h\\' where PatientID = 417
but whats get stored in ASE are hex bytes
06 68
rather than the ∆h bytes stream I sent in which was
E2 88 86 68
Is the driver set up for 8 bit ascii? How do I tell it some other encoded string is coming in?
eg from python, I send this unicode string
u'Update Prost_Consent set ConsentRefused_ActionedBy = \\'∆h\\' where PatientID = 417
but whats get stored in ASE are hex bytes
06 68
rather than the ∆h bytes stream I sent in which was
E2 88 86 68
Is the driver set up for 8 bit ascii? How do I tell it some other encoded string is coming in?