Hi everyone,

this time I try to ask you my question a little bit more precisely:

  Is the following behaviour of FindFileW as expected?

  If not, is it my fauld?

  If not so, is it a bug?

  And if it was a bug, where should I send it to?

PythonWin 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on win32.
Portions Copyright 1994-2001 Mark Hammond ([EMAIL PROTECTED]) - see 
'Help/About PythonWin' for further copyright information.
>>> dir = u'\u03b1\u03b2\u03b3.DIR'
>>> import win32file as f
>>> f.CreateDirectoryW(dir, None)
>>> from os.path import join as j
>>> f.CreateFileW(j(dir,'1'),0,0,None,f.CREATE_NEW,0,None)
<PyHANDLE object at 0x00F8C8E4>
>>> f.CreateFileW(j(dir,'2'),0,0,None,f.CREATE_NEW,0,None)
<PyHANDLE object at 0x00FA4F14>
>>> f.FindFilesW(dir)
Traceback (most recent call last):
  File "<interactive input>", line 1, in ?
UnicodeError: ASCII encoding error: ordinal not in range(128)


!!!! BTW: ">>> f.SetCurrentDirectory(dir)" brings also an ERROR!!!!

Thanx in advance

Regards/Mir freundlichen Gr��en
Werner Merkl

--
----------------------------------------------------------------------
Werner Merkl
Senior Engineer Software Pre-Installation
FSC VP BP RD PI 
Fujitsu Siemens Computers
Buergermeister-Ulrich-Str. 100
86199 Augsburg
Germany

Telephone:      +49(0)821 804-3548
Telefax:        +49(0)821 804-3835
E-mail: mailto: [EMAIL PROTECTED]
Internet:       http://www.fujitsu-siemens.com
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to