[<<]Message[>>]    [<<]Author[>>]    [<<]Subject        [<<]Thread    

Number : 7390 Date : 2004-03-07 Author : Kan Yabumoto Subject : Re: D:\WINNT\? A directory with same name exist Size(KB) : 1
sgp wrote: >Kan, > >thank you for your precise answer. I was sloppy in my description. You >correctly identified that this is a unicode translation limitation of >the dos box. I verified that using the 4nt command shell again. It >comes in two flawors, unicode and ascii. So I typed: > 4ntu /c dir d:\winnt\? && 4nta /c dir d:\winnt\? >and got two different listings. The first one (4ntu, unicode) shows >some rendition of the unicode filenames using "different" characters. >The second one (4nta, ascii) shows "?" for the unicode filenames. > >Now tell me if I understand correctly. xxcopy reports that a directory >with the same name exists in the destination because after having >created destination "?" when the first source "?" is encountered, it >is an error--or it's unexpected--to have to create another destination >"?" when the second "?" is encountered, and so on. Did I get it right? > >Thanks >--sgp The current release versions of XXCOPY is *NOT* Unicode-compliant. XXCOPY's behavior with Unicode-encoded filenames will work only when all the characters used in the file/directory name happen to be properly mapped in the current default code page (that is, when the unicode --> ANSI translation succeeds), XXCOPY will do the right thing. If that is not the case, XXCOPY will fail to do the job --- most of the time, it is a benign form of "file copy failed" failure. I don't know exactly what the user should expect in a particular circumstance of failure when the path contains unicode character. We plan to support Unicode in the future. On the other hand, XXCLONE has already made the transition and it supports Unicode-encoded files and directories. In the case of XXCOPY, the program is much larger and the unicode-support require a very significant change in the source code and we have not started the conversion. Kan Yabumoto
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.