Re: [python-win32] win32file.CreateFile versus win32file.CreateFileW

2012-02-07 Thread Scott Leerssen
On Feb 7, 2012, at 5:36 PM, Mark Hammond wrote: > Re-added python-win32 - please follow-up there. > > On 8/02/2012 1:06 AM, Scott Leerssen wrote: >> Thanks Mark. You wouldn't happen to know the encoding of the 8.3 >> filename, would you? I'm having a heck of a time setting that value >> with J

Re: [python-win32] win32file.CreateFile versus win32file.CreateFileW

2012-02-07 Thread Mark Hammond
Re-added python-win32 - please follow-up there. On 8/02/2012 1:06 AM, Scott Leerssen wrote: Thanks Mark. You wouldn't happen to know the encoding of the 8.3 filename, would you? I'm having a heck of a time setting that value with Japanese characters in it. win32file.SetFileShortName purports

Re: [python-win32] win32file.CreateFile versus win32file.CreateFileW

2012-02-06 Thread Mark Hammond
On 7/02/2012 2:45 AM, Scott Leerssen wrote: I'm trying to open files with names that contain Japanese characters, and found that win32file.CreateFile would raise an exception indicating that 'The filename, directory name, or volume label syntax is incorrect'. I found win32file.CreateFileW (docum

Re: [python-win32] win32file.CreateFile versus win32file.CreateFileW

2012-02-06 Thread Scott Leerssen
On Feb 6, 2012, at 11:03 AM, Amaury Forgeot d'Arc wrote: > 2012/2/6 Scott Leerssen > I'm trying to open files with names that contain Japanese characters, and > found that win32file.CreateFile would raise an exception indicating that 'The > filename, directory name, or volume label syntax is i

Re: [python-win32] win32file.CreateFile versus win32file.CreateFileW

2012-02-06 Thread Amaury Forgeot d'Arc
2012/2/6 Scott Leerssen > I'm trying to open files with names that contain Japanese characters, and > found that win32file.CreateFile would raise an exception indicating that > 'The filename, directory name, or volume label syntax is incorrect'. I > found win32file.CreateFileW (documented to dea

[python-win32] win32file.CreateFile versus win32file.CreateFileW

2012-02-06 Thread Scott Leerssen
I'm trying to open files with names that contain Japanese characters, and found that win32file.CreateFile would raise an exception indicating that 'The filename, directory name, or volume label syntax is incorrect'. I found win32file.CreateFileW (documented to deal with 'unicode'), and that did