Re: [cx-oracle-users] Using cx_Oracle 6.0rc1 on Windows
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2017-07-05 17:00:32
|
On Wed, Jul 5, 2017 at 10:19 AM, Walter Dörwald <wa...@li...> wrote: > On 5 Jul 2017, at 16:21, Anthony Tuininga wrote: > > [...] >>> "%1 ist keine zulõssige Win32-Anwendung" (which should read "%1 ist keine >>> zulässige Win32-Anwendung", i.e. the "ö" should be an "ä") means "%1 is >>> not >>> an acceptable win32 application". >>> >>> So we don't see the real problem because cx_Oracle fails to create the >>> proper Unicode string from the OS error message. >>> >>> It's not clear what encoding this is (probable latin-1 or cp1252, but >>> definitely *not* UTF-8). A >>> >>> grep 'xe4.*LATIN SMALL LETTER A WITH DIAERESIS' Lib/encodings/*.py >>> >>> in the Python source code returns 40 encodings that map the byte 0xE4 to >>> ä. >>> >>> If the correct encoding can't be determined from the environment it might >>> be best to use a less strict error handling (like e.g. backslashreplace) >>> when decoding the bytes of the error message. >>> >>> >> Thanks, Walter. This is very helpful. We'll have to see what makes the >> most >> sense in this case. Do you see information in the event log regarding this >> error? >> > > Where can we find this event log? Search for "Event Viewer". Its a long shot but sometimes errors are displayed there as well, and sometimes they even are useful! :-) > > > [...] >> > > Servus, > Walter > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > |