I got 'Change Directory Error: (2) No such file or directory"
in case of directory traversing.
1) Current dirname contain '\\' code(backslash).
2) Move to parent directory.
3) *ERROR OCCURS*
Perhaps... in Japanese, we use multibyte characters
contains '\\' code in NON SEPARATOR CHARACTER.
Change Directory Error(2)
Change Directory Error(2)
- Attachments
-
- this is error image (In Japanese).
- dirs.jpg (66.17 KiB) Viewed 4188 times
I guess
In 'Move to parent' case, Slamander search-backward to '\\' code.
and remove '\\', and set directory to removed path...
so, I wrote a sample code.
one of this (test1) is a problem,
and another (test2) is NO problem.
May you review my code?
And I hope you to correct the problem.
Regards.
and remove '\\', and set directory to removed path...
so, I wrote a sample code.
one of this (test1) is a problem,
and another (test2) is NO problem.
May you review my code?
And I hope you to correct the problem.
Regards.
- Attachments
-
- dirs.zip
- Sample code
- (727 Bytes) Downloaded 435 times
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
The problem is in Unicode encoding. It is not supported in Altap Salamander 2.5. We plan it for version 3.0.