Re: [cx-oracle-users] Can't have access to a corrupted VARCHAR2.
Brought to you by:
atuining
|
From: Walter <wa...@li...> - 2018-03-19 15:04:55
|
On 19 Mar 2018, at 13:35, Stéphane JULIEN wrote:
> Hello,
>
> I downgraded Python to version 2.7. Then, I was able to have access to
> the
> corrupted data because there is no automatic cp1252 decoding with
> Python 2.
> Is there a way to prevent the automatic decoding with python 3 ? I
> found no
> solution at this time.
Couldn't you set NLS_LANG to AMERICAN_AMERICA.WE8ISO8859P1, and read the
data with that?
Then you could at least find out what the broken record is, and fix it
by hand?
> Best wishes.
>
> Stéphane
Servus,
Walter
|