Re: [cx-oracle-users] Client encoding under Cygwin
Brought to you by:
atuining
From: Ian K. <ian...@gm...> - 2010-12-02 23:11:41
|
On Thu, Dec 2, 2010 at 4:06 PM, Amaury Forgeot d'Arc <ama...@gm...> wrote: > 2010/12/2 Ian Kelly <ian...@gm...> >> >> AFAICT, the solution suggested there is not viable in Python because >> Pywin32 does not build under Cygwin. > > You can still use the ctypes module: >>>> import ctypes >>>> ctypes.CDLL('kernel32').SetEnvironmentVariableA('NLS_LANG', '.UTF8') Yep, that does the trick. Thanks! |