I’m working with oracle legacy DB and need to read and write binary data (png images, and and MDL Molfiles).
Django’s inspectdb command generated text fields for these columns, saying that’s only a guess.
Now, when I’m trying to retrieve a value from this class fields i get:
DjangoUnicodeDecodeError: ‘utf8’ codec can’t decode byte 0x89 in position 0: invalid start byte.
error.
Is there any way to read and write these columns?
Any help would be appreciated.
1 Answer